Staff
Testing
GET
/store/staff
BosOnline/Staff
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
Query Params
role
string
optional
Example:
all
category
integer
optional
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
Modified at 2025-06-19 10:01:01