bosOnline
  1. Staff
bosOnline
  • bosOnline
  • BosOnline
    • auth
      • Register
      • Login
      • Refresh
      • Logout
    • Product
      • Inventory
      • Update Inventory
      • Download Inventory
      • Download Variant
      • Get Category
      • Get Edit Product
      • Delete Product
      • Product List
      • product
      • Edit Product Detail (Product Detail)
      • Edit Status Product (Product List)
      • Download Product (Product List)
      • Product Detail
      • Product Variant
      • Edit Status Variant (Product Detail)
      • Update Variant
      • Upload Image
      • Cek SKU Variant
      • Cek SKU Product
      • Duplicate Product
      • Create Product Dummy
    • Form
      • Form
      • Edit Form
      • Form Detail
      • Form list
      • Edit Status Form (Product Detail)
      • Custom Success Page
      • Custom Success Page
      • Edit Success Page
      • Delete Form
      • Form list Donwload
      • Duplicate form
      • Duplicate form batch
    • Order
      • Checkout
        • Created Order
        • Request Create Order Abandoned
        • Updated Order Abandoned
        • Download QRIS
      • Follow up
        • Follow Up
        • Follow Up Attempts
      • Edit Choose Courier
      • Edit Payment Method
      • Update Pengiriman Kurir
      • Confirm Payment
      • Validation Number WA
      • Order List
      • Recap Order List
      • Update Status Order
      • Load checkout Form
      • Estimation Rates
      • Download Order List
      • Cetak Invoice
      • Courier List
      • Update Payment Method
      • Detail Order
      • Edit Customer Order
      • Edit Another Fee
      • Download Order List Abandon
      • Download Order Item
    • Store
      • Custom Domain
        • Set Default Subdomain
        • Subdomain
        • Create Subdomain
        • Verifikasi Subdomain
      • Recap Order
      • Recap Store
      • Recap Product
      • Recap CS
      • Get Revenue
      • Tips
      • Announcement
      • Store
      • Store
      • Cek SubDomain
      • Edit Subdomain
      • On Boarding
      • Warehouse
      • Get Region
      • Get Province List
      • Get Notification
      • Tips
    • API Boscod
      • Cek Ongkir
      • Wilayah
      • Tracking Order
      • Forgot Password (Reset Password)
      • Warehouse
      • Order Shipping
      • winpay service
      • Saldo BosPay
      • Validation Number WA With store
      • Warehouse
      • Updated Order Shipping
    • Profile
      • Warehouse
      • Edit Warehouse
      • Profile
      • Account Deletion
      • Default Warehouse
      • Me
    • Staff
      • Create Staff
        POST
      • Delete staff
        DELETE
      • Staff List
        GET
      • Edit Status Staff
        PATCH
      • Update staff
        PUT
      • Edit Multi Status Staff
        PUT
      • Download Staff List
        POST
      • Detail Staff
        GET
    • Rekening
      • Bank List
      • Get Rekening List
      • Download Rekening List
      • Rekening Detail
      • Create Rekening
      • Edit Rekening
      • Delete Rekening
      • Edit Status Rekening
    • Voucher
      • List Voucher
      • Edit Voucher Status
      • Voucher
      • List Voucher Checkout
      • Delete Voucher
      • Download List Voucher
    • Session
      • Active Sesion
      • Sesion History
      • Logout All Outher Session
      • Logout Session ID
  • AdminBosOnline
    • Dashboard
      • Header Summary
      • Get Popular Products
      • Rekap Product
      • Revenue
      • Get Top Seller
    • Seller
      • Detail
        • Seller Detail
        • Update Seller Detail Status & Marking
        • Seller Store
        • Update Detail Seller Store
        • Seller Product
        • Download Product Seller
        • Update Status Produk Seller
        • Seller Warehouse List
        • Seller Note
        • Create Seller Note
        • Update Seller Note
        • Delete Seller Note
        • Seller Domains
      • Seller Summary
      • Seller List
      • Download Seller List
      • Seller Active Status
      • Update Marking Sellers
      • Detail Bank Seller
    • Products
      • Recap Product
      • Get List Product
      • Download list product
      • Edit status product
      • Update Marking Product
      • Detail Product Seller
      • Detail Product Variant
      • Download Product Variant
      • Product Form
    • Order
      • Order Recap
      • Order List
      • Download Order
      • Detail Order
      • Cetak Invoice
    • Store
      • Create Store
      • Upload Image Custom
    • auth
      • Get User Internal
      • Get Detail User Internal
      • Create Internal User
      • Edit Detail Internal User
      • Update Active User Internal
      • Delete Internal User
    • Cache
      • All Cache
      • Cache Statistics
      • Flush All Cache
      • Specific Cache key
      • Specific Cache Pattern
      • Specific Cache User
  • Health
    GET
  1. Staff

Update staff

Tested
PUT
/store/staff/{id}
Endpoint ini digunakan untuk membuat akun customer service. Perlu dikirim ke api boscod agar data tersingkron dan bisa dibuat login.

Request

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

Body Params application/json

Examples

Responses

🟢200OK
application/json
Body

🔴503Service Unavailable
🟠400Invalid input
🟠404Record not found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/store/staff/1752828338107' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "staff alvin",
    "phone": "089765183712",
    "email": "staffalvin@example.com",
    "password": "support21",
    "role_id": 2,
    "module": [
        {
            "name": "product",
            "code": "product",
            "permits": [
                "create",
                "update"
            ]
        },
        {
            "name": "form",
            "code": "form",
            "permits": [
                "read"
            ]
        },
        {
            "name": "order",
            "code": "product",
            "permits": [
                "create",
                "read",
                "update"
            ]
        }
    ],
    "valid_hp": true
}'
Response Response Example
200 - Success
{
    "message": "Customer service user has been successfully saved."
}
Previous
Edit Status Staff
Next
Edit Multi Status Staff
Built with