APi Dock Buka Lombok
  1. Courier Managment
APi Dock Buka Lombok
  • 📊 Kalau untuk **Dashboard**, yang ditampilkan cukup hasil agregat dari tabel-tabel ini:
  • Endpoint Fix
  • Model Bisnis
  • Super Admin
    • 🗂️ Backend REST API Task Management (Detail)
    • Managment Compamy
      • Fee Setting
        • Get All Fee Configuration
        • Get Fee Configuration By Id
        • Create Fee Configuration
        • Update Fee Configuration
        • Hard Delete Fee Configuration
        • Soft Delete Fee Configuration
        • Restore Fee Configuration
      • FAQ
        • Tambah FAQ
        • Bulk Edit Faq
        • FAQs (Super Admin)
        • Get All FAQs
      • Shiping Schedul
        • Add Shiping Schedul
        • Edit Shiping Schedul
        • Delete Shiping Schedul
        • GetShiping Schedul
        • Get Shiping Schedul By ID
      • Shipmeenr Fee Config
        • Add Shipemnt Services
        • Update Shipemnt Services
        • Delete Shipemnt Services
        • Add shiping Pricing
        • Update shiping Pricing
        • Delete shiping Pricing
        • Get Shipemnt Services
        • Get Shipemnt Services by Id
        • Get shiping Pricing
        • Get shiping Pricing by ID
      • Eraning Setting
        • Add Eraning Seting
        • Update Eraning Seting
        • Delete Eraning Seting
        • Get Eraning Seting
        • Get Eraning Seting by Id
    • Global Dashboard
      • Get All User
      • Update Status User
      • Delete User
      • Users Detail
    • Store Managment
      • Enpoin Etc vendor
      • Vendor
        • Get All Owner Vendor
        • Get Owner Vendor By Id
        • Get All Vendor
        • Get Single Vendor
        • Get All Product analysis Catagory
        • List Produk Vendor
        • Analisa Produk Count
        • All Reviw Vendor
        • Vendor Produk Review
        • Register Owner Vendor
        • Register Vendor
        • Add Image Vendor
        • Update Vendor
        • Update Owner Vendor
        • Create/Update Vendor Address
        • Update Vendor Media
        • Uppdate Bulk Vendor
        • Update Status Produk
        • Suspended Owner Vendor
        • Restore Owner Vendor
        • Suspended Vendor
        • Restore Vendor
        • Soft Delete Vendor
        • Soft Delete Owner Vendor
        • Delete Pemanet Owner Vendor
        • Delete Vendor Permanent
        • Delete Vendor Media
      • Catagory
        • Get Categories Manajemnt
        • Add Catagory Produks
        • Update Catagory
        • Delete Catagory
    • Courier Managment
      • Register Courier
        POST
      • Add Kurir Profile Motor
        POST
      • Add Kurir Profile Addres
        POST
      • Update Addres Courier
        PUT
      • Uppdte Motor Kurir Profile
        PUT
      • Suspanded Courier
        PUT
      • Uproved Intenal Couriers
        PATCH
      • Get All Courier Super Admin
        GET
      • Get User Courier Super Admin By Id
        GET
      • Get All User Courier Super Admin
        GET
      • Get Singgel Courier Super Admin
        GET
      • Restore User Courier
        PATCH
      • Soft Delete Courier
        DELETE
      • Delete Permanet Courier
        DELETE
    • Shipping Center Management
      • Get All Shipping Centers
      • Get Single Shipping Centers
      • Add Shiping Center
      • Update Shiping Center
      • Update Addres Shiping Center
      • Restore Shiping Center
      • Soft Delete Shiping Center
      • Hard Delete Shiping Center
    • Boarcahs Mesage
      • Post Boarcash
      • Get All boarcah
      • Tandai sudah dilihat
    • Notifikasi
      • Notification
      • Detail Notification
    • Chet Room
      • Chet Room
      • Chet room Message
    • Address Managment
      • Add Addres Managment Contry
      • Add Managmnet Province
      • Add Managmnet Districts
      • Add Managmnet Regenci
      • Add Managmnet villages
      • Update Managment Contry
      • UIpdate Managmnet Province
      • Update Managmnet regency
      • Update Managmnet districts
      • Update Managmnet villages
      • Update Addres Admin
      • Delete Managment Contry
      • Delete Managmnet Province
      • Delete Managmnet regency
      • Hapus Managmnet districts
      • Hapus Managmnet villages
      • Get All Addres
    • Finace
      • Bank
        • Add Bank
        • Edit Bank
        • Delete Bank
        • Soft Delete Bank
        • Restore Bank
        • All Banks
        • Detail Banks
  • Finance
    • Bank
      • Get Avalaible Banks
    • Bank Setting
      • Add Banks Setting
      • Updat Bank Setting
      • Delete Bank Setting
    • Withdraw
      • Withdraw
      • Withdraw Avalaible Banks
      • Withdraw History
    • Balance
      • Comition Balance
      • Comition Transaksi
      • Comition Statistik
  • Courier (Pickup & Internal - Delivery)
    • 📦 Penjelasan Tabel Skima `pickup_task_shipments`
    • Couriers
      • Pickup Tasks
        • Update status order Couriers Pickup
        • Update Coplated Tast Bulk
        • Get All Task Couris
        • Get Siggle Task Cuurier
      • Dc Transit Meting Point
        • Get Order Distribution Center
        • Get Detail Invetory
        • DC Inventory assign-courir
      • Triping Log
        • Get All Logs
        • Siggle Task log
        • Update Realtime Couriers
      • Shummery
        • Trip Summary Kurir
        • All Summary Couriers - Super Admin
        • Detail Summary Couriers - Super Admin
      • Profile
        • Gel Profile Couriers
      • Delivery
        • Get Delivery Courier Task
        • Get Delivery Courier Task Detail
        • Update Status Delivery Task
      • Get Shipment Barcode
  • Global
    • Products
      • Get All Products
      • Get a Product By Id
      • Get Product Variants
      • Get a Product Variant By Id
      • Get Product Images
      • Get a Product Image By Id
      • Get Product Details
      • Get a Product Detail By Id
      • Get Product Attributes
      • Get a Product Attribute By Id
    • Reviews
      • Product Review
        • Get Product Review
        • Get Single Product Review
        • Get Product Review Summary
      • Get Vendor Reviews
      • Get All Couriers Reviews || Based On Type of The Courier
      • Get Single Courier Review
      • Get Single Vendor Review
    • Categories
      • Get Categories
    • Vendors
      • Get All Vendors
      • Get Single Vendor
    • Location
      • Get Location
    • Information
      • Get FAQ
      • Get Company Profile
      • Get FAQ by Id
    • Fee Configuration
      • Fee Configuration Active
    • Xendit
      • Webhook
        • Webhook Payment Request
        • Webhook Invoice
      • Payment Method
        • Get All Payment Methods
  • Auth
    • Forgot Password
      • Forgot Password
      • Verify Forgot Password
      • Reset Password
    • Customer Registration
    • Customer Email Activation
    • Email Activation
    • Resend Email Activation
    • Login
    • Logout
    • Refresh Token
    • Change Password
    • Resend OTP
    • OTP Confirmation
  • Customer
    • Profiles
      • Get Customer Profile
      • Create Customer Profile
      • Add addres custemer
      • Edit Customer Profile
      • Update addres custemer
      • Delete addres custemer
      • Get All Address Cutemer
    • Reviews
      • Product
        • Product Review Media
          • Update Product Review Media
          • Add Product Review Media
          • Delete Product Review Media
        • Get My Reviews
        • Create a Product Review
        • Edit Product Review
        • Delete a Product Review
    • Carts
      • Get Cart Items
      • Get Cart Summary
    • Cart Items
      • Add an Item to Cart
      • Update a Cart Item
      • Remove Multiple Cart Items
      • Remove a Cart Item
    • Wishlists
      • Get All Wishlists
      • Get Wishlist By Product Id
      • Add a Product to Wishlist
      • Delete a Wishlist Product
    • Orders
      • Payment Request
        • Get All Payment Requests
        • Get Payment Request By Id
        • Simulate Payment Request
      • Get My Orders
      • Get Single Order
      • Checkout
      • Cancel Order
      • Get Available Service
      • Get Available Service Detail
      • Sumery Pree Order
    • Refund
      • Refund Request
      • Get Refund Requests
      • Get Detail Refund Request
  • Vendor
    • Products
      • Get All Vendor Products
      • Get a Vendor Product By ID
      • Create a Vendor Product
      • Update a Vendor Product Basic
      • Soft Delete a Vendor Product
    • Product Images
      • Get All Product Images
      • Get a Product Image
      • Add an Image Product
      • Update an Image Product
      • Delete an Image Product
    • Product Details
      • Get All Product Details
      • Get a Product Detail
      • Create a Product Details
      • Update a Product Detail
      • Delete a Product Detail
    • Product Variants
      • Get All Product Variants
      • Get a Product Variant
      • Add a Product Variant
      • Update a Product Variant
      • Delete a Product Variant
    • Product Attributes
      • Get All Product Attributes
      • Get a Product Attribute
      • Add a Product Attribute
      • Update a Product Attribute
      • Delete a Product Attribute
    • Discount
      • With Variants
        • Get All Variants Discounts
        • Get Spesific Variant Discount
        • Get Variant Discount By Discount Id
        • Add Discount For Product With Variants
        • Update Discount For Product With Variants
        • Delete Discounts For Product With Variants
      • Without Variants
        • Get Product Discounts
        • Get Discount Product With Discount Id
        • Add Product Discount
        • Update Product Discount
        • Delete Product Discount
    • Reviews
      • Product Review
        • Get Vendor Product Reviews
        • Get Vendor Product Reviews Summary
    • Orders
      • Get All Order (Vendor POV)
      • Get an Order Detail (Vendor POV)
      • Update Order Status
    • Notifications
      • Vendor Notification
    • Earnings
      • Get Earnings Summary
    • Internal Couriers
      • Get All Internal Couriers
      • Get a Internal Courier
      • Internal Courier Registration
    • Profile
      • Get Vendor Profile
    • Pickup Couriers
      • Get Avalibel Pickup Couriers
      • Get a Deliveries Courier
      • Assign Pickup Courier Task
      • Assign Delivery Courier Task
      • Get Order Shipment By Pickup Courier
      • Get Pickup Courier Orders
      • Get All Shipments Vendor
      • Get Detail Shipment ID
    • Refund Request From Customer
      • Get Refund Request From Customer
      • Get Detail Refund Request From Customer
      • Approve Refund Request From Customer
      • Reject Refund Request From Customer
  • Comiton Balance
    • Distribution
      • Distribusi Komisi
      • Get Earning
      • List Commissions
    • Payouts
      • Widthdrow
      • Widthrow
      • Detail Widthrow
      • Webhook
  • GIS
    • Get All Countries
    • Get All Provinces Within a Specific Country
    • Get All Regencies Within a Specific Province
    • Get All Districts Within a Specific Regency
    • Get All Villages Within a Specific District
  • Notification
    • Test Post Notification
    • Get Notifications
    • Unread Count Notifications
    • Count By Notification Type
    • Mark As Read Notification
    • Mark As Read All Notification
    • Delete Notification
  • FCM
    • Register FCM Token
    • Unregister FCM Token
    • Get All Devices
    • Test Push Notification (Dev Only)
  • Chat
    • Chat Rooms
      • Create or Get Chat Rooms
      • Get Chat Room
      • Get Chat Room By Id
    • Messages
      • Send Message
      • Upload Attachments
      • Get Messages
      • Mark as Read
      • Delete Message
    • Utilities
      • Get Unread Count
      • Mute Message
      • Typing Indicator
    • Pusher Auth
  • Withdraw Detail
    GET
  • Get Profile Kurir Me
    GET
  • Schemas
    • Global
      • Addres Scema
        • Country Scema
        • Province Scema
        • Regency Scema
        • District Scema
        • Village Scame
        • Addres Schema
      • Product Schema
      • Vendor Schema
      • Category Schema (Can Include Sub and Sub Sub Category)
      • Product Detail Schema
      • Get Sub/Sub Sub Category Schema (Children)
    • Auth
      • Registration Schema
    • User Scema
      • User Tabel Scema
    • Customer
      • customer_profile Schema
    • Products
      • product_reviews Schema
      • products Scime
      • product_images Schema
      • product_attributes Schema
      • product_variants Schema
      • wishlists Schema
    • Vendors
      • Vendors Scema
      • Vendors Image Scema
      • vendor_reviews Schema
    • Order Schema
      • Tabel Order Schema
      • DC transit inventory
      • carts Schema
      • cart_item Schema
      • order_items Scema
      • Order Shipment
    • Chet Room
      • chat_room Scema
      • notifications Schema
      • message Scema
      • broadcast_receiver Scima
      • broadcast_message Scima
    • Curir Puckup
      • Shiping Schedul
        • Shiping Schedul
      • Activity Log
        • activity_log
        • courier_trip_logs Scima
        • courier_shumery_day
      • Couriers
        • couriers Schema
        • internal_courier_approvals Scema
        • courier_reviews Schema
      • Rewsponse Task
    • Payment and Payout
      • Payment Method
      • payout_request_history Scima
    • Super Admin
      • faq
      • super_admin Schema
      • company_profile
      • commission_setting Scima
      • fee_configuration Scima
      • commission_distribution_log Scima
      • order_commission_history Scima
      • user_commission_balance Scima
      • bank_accounts Scima
      • payout Scima
    • Shipping & DC
      • Shipping Center Schema
      • shipping_trip_log Scime
      • shipping_trip_summary Scema
      • shipping_proves Scima
      • pickup_tasks Scima
      • pickup_task_shipments Scima
      • delivery_tasks Scima
      • delivery_task_shipments
    • All Vendor
    • Analize Produks
    • Get All Vendors
  1. Courier Managment

Uppdte Motor Kurir Profile

Prod Env
https://v1.dev.bukalombok.com
Prod Env
https://v1.dev.bukalombok.com
PUT
/v1/superadmin/management/courier/{userId}/address/{id}

📦 Update Courier Profile API#

Endpoint#

PUT /v1/superadmin/management/courier/{userId}/address/{id}

Deskripsi#

Memperbarui profil kurir yang sudah ada. Endpoint ini memiliki aturan akses yang berbeda berdasarkan role pengguna.

Headers#

HeaderValue
Content-Typemultipart/form-data
AuthorizationBearer <token>

Authorized Roles#

SUPER_ADMIN - Full access
PICKUP_COURIER - Limited access (hanya profile sendiri)
DELIVERY_COURIER - Limited access (hanya profile sendiri)
INTERNAL_COURIER - Limited access (hanya profile sendiri)
VENDOR - Limited access (hanya profile sendiri)

Path Parameters#

ParameterTypeDeskripsi
idstringCourier ID
userIdstringUser ID

📝 Aturan Akses Berdasarkan Role#

🔧 SUPER_ADMIN#

Bisa update: Semua field dan semua courier
Field khusus: status, isActive, shippingCenterId, data kendaraan, dokumen

🚚 Courier Roles & VENDOR#

Hanya bisa update: Profile sendiri (courier.userId harus sama dengan req.userId)
Field yang diizinkan:
phoneNumber (nomor telepon)
photoUrl (foto profil via file upload)
Field yang diblokir: userId, shippingCenterId, status, isActive, semua data kendaraan dan dokumen

Request Body#

File Uploads (Optional)#

FieldTypeDeskripsi
photoUrlfileFoto profil kurir
vehicleImagefileFoto kendaraan
stnkImageUrlfileFoto STNK
driverLicenseImagefileFoto SIM
ktpImageUrlfileFoto KTP

Text Fields (Optional)#

FieldTypeKeterangan
phoneNumberstringHarus unik
vehicleTypestringHanya SUPER_ADMIN
vehicleBrandstringHanya SUPER_ADMIN
vehicleModelstringHanya SUPER_ADMIN
vehicleColorstringHanya SUPER_ADMIN
vehicleNumberstringHarus unik, hanya SUPER_ADMIN
stnkNumberstringHarus unik, hanya SUPER_ADMIN
driverLicensestringHarus unik, hanya SUPER_ADMIN
ktpNumberstringHarus unik, hanya SUPER_ADMIN
statusenumHanya SUPER_ADMIN
isActivebooleanHanya SUPER_ADMIN
shippingCenterIdstringHanya SUPER_ADMIN

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Body Params multipart/form-data

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://v1.dev.bukalombok.com/v1/superadmin/management/courier//address/' \
--header 'Authorization: Bearer <token>' \
--form 'userId="jghhwhehfTJrgnbd"' \
--form 'vehicleType="Motor"' \
--form 'vehicleBrand="Honda"' \
--form 'vehicleModel="Beat"' \
--form 'vehicleColor="Hitam"' \
--form 'vehicleNumber="B3567XYM"' \
--form 'vehicleImage=@"C:\\Users\\v\\Downloads\\eugene-chystiakov-cvqvLMVEfBY-unsplash.jpg"' \
--form 'stnkNumber="STNK123456789012"' \
--form 'stnkImageUrl=@"C:\\Users\\v\\Downloads\\kamaruld-salleh-GVpeVYxEFgw-unsplash.jpg"' \
--form 'driverLicense="949494949493"' \
--form 'driverLicenseImage=@"C:\\Users\\v\\Downloads\\3f83e61e-64d1-4415-902b-95225f146a0e-1759871934100-10d85c8f6518.jpg"' \
--form 'ktpNumber="7234567897654356"' \
--form 'ktpImage=@"C:\\Users\\v\\Downloads\\fotos-vnmLrU5aw-0-unsplash.jpg"' \
--form 'isActive="true"' \
--form 'phoneNumber="62817658972"' \
--form 'status="ACTIVE"' \
--form 'photoUrl=@"C:\\Users\\v\\Downloads\\WhatsApp Image 2025-10-15 at 08.21.18 (1).jpeg"' \
--form 'shippingCenterId=""'
Response Response Example
{
    "meta": {
        "success": true,
        "status": 200,
        "message": "Courier berhasil dibuat"
    },
    "data": {
        "id": "lSyAazW8c1634wM",
        "status": "ACTIVE",
        "isActive": true,
        "createdAt": "2025-10-12T04:02:57.311Z",
        "updatedAt": "2025-10-12T04:02:57.311Z",
        "user": {
            "id": "UofsfN2w9E5x7Yj",
            "name": "Bailey Group",
            "email": "wedove7258@capiena.com",
            "role": "PICKUP_COURIER",
            "contact": "62876545678",
            "isActive": true,
            "status": "ACTIVE"
        },
        "vehicle": {
            "type": "Motor",
            "brand": "Honda",
            "model": "Beat",
            "color": "Hitam",
            "number": "B3567XYM",
            "image": "encrypted/SUPER_ADMIN/vehicle/bf04cd56-7705-4692-8580-e49c29bb7462-1760241769251-acc41776abb7.jpg"
        },
        "dataDiri": {
            "stnkNumber": "STNK123456789012",
            "driverLicense": "949494949493",
            "ktpNumber": "7234567897654356"
        },
        "documents": {
            "stnk": "encrypted/SUPER_ADMIN/stnk/bf04cd56-7705-4692-8580-e49c29bb7462-1760241755847-f99becb8fc56.jpg",
            "driverLicense": "encrypted/SUPER_ADMIN/driver-license/bf04cd56-7705-4692-8580-e49c29bb7462-1760241765384-65ff846ad7c3.jpg",
            "ktp": "encrypted/SUPER_ADMIN/ktp/bf04cd56-7705-4692-8580-e49c29bb7462-1760241754007-81a02e82c2bf.jpg",
            "photo": "encrypted/SUPER_ADMIN/driver-profile/bf04cd56-7705-4692-8580-e49c29bb7462-1760241752774-5186922a1973.jpeg"
        },
        "address": null,
        "shippingCenter": null,
        "addedBy": {
            "id": "bf04cd56-7705-4692-8580-e49c29bb7462",
            "name": "Super Admin",
            "email": "adminsuper@example.com",
            "role": "SUPER_ADMIN"
        }
    }
}
Modified at 2025-10-18 00:35:38
Previous
Update Addres Courier
Next
Suspanded Courier
Built with