bosOnline
  1. Staff
bosOnline
  • bosOnline
  • BosOnline
    • auth
      • Register
      • Login
      • Refresh Token
    • Product
      • Inventory
      • Download Inventory
      • Download Variant
      • Update Inventory
      • Get Category
      • Get Edit Product
      • Product List
      • Edit Product Detail (Product Detail)
      • product
      • Delete Product
      • Edit Status Product (Product List)
      • Download Product (Product List)
      • Product Detail
      • Product Variant
      • Edit Status Variant (Product Detail)
      • Update Variant
      • Upload Image
      • Cek SKU
    • Form
      • Form
      • Edit Form
      • Form Detail
      • Edit Status Form (Product Detail)
      • Form list
      • Custom Success Page
      • Custom Success Page
      • Edit Success Page
    • Order
      • Checkout
        • Request Create Order
        • Request Create Order Abandoned
      • Follow up
        • Follow Up
        • Follow Up Attempts
      • Edit Choose Courier
      • Edit Payment Method
      • Detail Order
      • Edit Customer Order
      • Edit Another Fee
      • Order List
      • Confirm Payment
      • Update Payment Method
      • Update Pengiriman Kurir
      • Update Status Order
    • Store
      • Custom Domain
        • Set Default Subdomain
        • Subdomain
        • Create Subdomain
        • Verifikasi Subdomain
        • Get Revenue
      • Store
      • Cek SubDomain
      • Get Region
      • Store
      • Warehouse
      • On Boarding
      • Recap Order
      • Recap Store
      • Recap Product
      • Recap CS
      • Tips
      • Announcement
      • Edit Subdomain
    • API Boscod
      • Cek Ongkir
      • Wilayah
      • Tracking Order
      • Reset Password
      • Warehouse
      • Order Shipping
      • winpay service
    • Profile
      • Warehouse
      • Edit Warehouse
      • Profile
      • Data Deletion
      • Default Warehouse
      • Me
    • Staff
      • Staff
        GET
      • Delete staff
        DELETE
      • Create Staff
        POST
      • Edit Status Staff
        PATCH
    • Rekening
      • Bank List
      • Get 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
  • AdminBosOnline
    • Dashboard
      • Recap Store
      • Revenue
      • Order Recap
  1. Staff

Staff

Testing
GET
/store/staff
BosOnline/Staff
Endpoint ini digunakan untuk menampilkan list staff beserta aturan akses module.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/store/staff?role=all&category=name&keyword=alice&sort_by=name&sort_dir=desc&start=0&limit=10'
Response Response Example
200 - Success
{
    "data": [
        {
            "active": true,
            "email": "alvinnandad1@gmail.com",
            "module": [
                {
                    "access": [
                        "read",
                        "update",
                        "create",
                        "delete"
                    ],
                    "id": 2,
                    "name": "form"
                },
                {
                    "access": [
                        "read",
                        "update",
                        "create"
                    ],
                    "id": 3,
                    "name": "produk"
                }
            ],
            "role": "admin",
            "staff_id": 2,
            "staff_name": "alvinnanda",
            "staff_phone": "08080808880"
        },
        {
            "active": true,
            "email": "alvinnanda@example.com",
            "module": [
                {
                    "access": [
                        "create",
                        "delete",
                        "read",
                        "update"
                    ],
                    "id": 4,
                    "name": "produk"
                }
            ],
            "role": "owner",
            "staff_id": 3,
            "staff_name": "Alice Johnson",
            "staff_phone": "089876543210"
        }
    ],
    "total": 2
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
role
string 
optional
all, admin, cs
Example:
all
category
integer 
optional
name, email, phone, role.
Example:
name
keyword
string 
optional
Example:
alice
sort_by
string 
optional
Example:
name
sort_dir
string 
optional
Example:
desc
start
integer 
optional
Example:
0
limit
integer 
optional
Example:
10

Responses

🟢200OK
application/json
Body
data
array [object {6}] 
required
staff_name
string 
optional
active
boolean 
optional
role
string 
optional
staff_phone
string 
optional
email
string 
optional
module
array [object {3}] 
optional
🔴503Service Unavailable
🟠404Record not found
Modified at 2025-06-19 10:01:01
Previous
Me
Next
Delete staff
Built with