API Reference
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
formatstring · enumOptionalDefault:
Response format
jsonPossible values: pageintegerOptionalDefault:
Page number
1limitintegerOptionalDefault:
Number of items per page
20Responses
200
Successful operation
application/json
countintegerOptional
nextstring · nullableOptional
previousstring · nullableOptional
403
Forbidden
application/json
get
/staffs/Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
retail_storesinteger[]Required
List of retail store IDs
first_namestring · max: 30Required
last_namestring · max: 150Required
emailstring · emailRequired
is_activebooleanOptional
remote_idstring · nullableRequired
passwordstringRequired
permission_groupsinteger[]Optional
List of permission group IDs
Responses
201
Staff created successfully
application/json
400
Bad Request
application/json
403
Forbidden
application/json
post
/staffs/Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idintegerRequired
Query parameters
formatstring · enumOptionalDefault:
Response format
jsonPossible values: Responses
200
Successful operation
application/json
403
Forbidden
application/json
404
Not Found
application/json
get
/staffs/{id}/Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idintegerRequired
Query parameters
formatstring · enumOptionalDefault:
Response format
jsonPossible values: Body
retail_storesinteger[]RequiredExample:
[1,2]first_namestringRequiredExample:
Johnlast_namestringRequiredExample:
Doeemailstring · emailRequiredExample:
[email protected]is_activebooleanRequiredExample:
trueis_staffbooleanRequiredExample:
trueremote_idstring · nullableRequiredExample:
abcd-1234usernamestringRequiredExample:
johndoeResponses
200
Successful operation
application/json
retail_storesinteger[]OptionalExample:
List of retail store IDs
[1,2]first_namestringOptionalExample:
Johnlast_namestringOptionalExample:
Doeemailstring · emailOptionalExample:
[email protected]remote_idstringOptionalExample:
123passwordstringOptional
permission_groupsinteger[]OptionalExample:
[5,6]400
Bad Request
application/json
403
Forbidden
application/json
404
Not Found
application/json
put
/staffs/{id}/Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idintegerRequired
Query parameters
formatstring · enumOptionalDefault:
Response format
jsonPossible values: Body
retail_storesinteger[]OptionalExample:
[1,2]first_namestringOptionalExample:
Johnlast_namestringOptionalExample:
Doeemailstring · emailOptionalExample:
[email protected]is_activebooleanOptionalExample:
trueis_staffbooleanOptionalExample:
trueremote_idstring · nullableOptionalExample:
abcd-1234usernamestringOptionalExample:
johndoeResponses
200
Successful operation
application/json
retail_storesinteger[]OptionalExample:
List of retail store IDs
[1,2]first_namestringOptionalExample:
Johnlast_namestringOptionalExample:
Doeemailstring · emailOptionalExample:
[email protected]remote_idstringOptionalExample:
123passwordstringOptional
permission_groupsinteger[]OptionalExample:
[5,6]400
Bad Request
application/json
403
Forbidden
application/json
404
Not Found
application/json
patch
/staffs/{id}/Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idintegerRequired
Query parameters
formatstring · enumOptionalDefault:
Response format
jsonPossible values: Responses
200
Successful operation
application/json
idintegerOptionalExample:
1is_visible_for_userbooleanOptionalExample:
truecreated_datestring · date-timeOptionalExample:
2024-12-30T13:40:22.531128Zmodified_datestring · date-timeOptionalExample:
2025-07-18T10:06:16.116904ZnamestringOptionalExample:
OMS CargoCompany ListpathstringOptionalExample:
cargo_company-oms:oms-cargo-companylabelstring · nullableOptional
methodstring · nullableOptional
parentstring · nullableOptional
permission_groupsinteger[]OptionalExample:
[1]403
Forbidden
application/json
404
Not Found
application/json
get
/staffs/{id}/list_staff_permission_info/Body
staffintegerRequiredExample:
The ID of the staff whose password will be changed.
32new_passwordstringRequiredExample:
The new password to be set for the staff.
123Responses
200
Successful operation
No content
400
Bad Request
application/json
403
Forbidden
application/json
post
/staffs/change_password/No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
formatstring · enumOptionalDefault:
Response format
jsonPossible values: Responses
200
Successful operation
application/json
idintegerOptionalExample:
32last_loginstring · date-timeOptionalExample:
2025-07-18T10:06:16.115573Zis_superuserbooleanOptionalExample:
falseis_staffbooleanOptionalExample:
truedate_joinedstring · date-timeOptionalExample:
2024-12-30T13:40:22.530558Zcreated_datestring · date-timeOptionalExample:
2024-12-30T13:40:22.531128Zmodified_datestring · date-timeOptionalExample:
2025-07-18T10:06:16.116904Zfirst_namestringOptionalExample:
Johnlast_namestringOptionalExample:
DoeemailstringOptionalExample:
[email protected]is_activebooleanOptionalExample:
trueremote_idstringOptionalExample:
2222usernamestring · nullableOptionalExample:
john.doepermission_groupsinteger[]OptionalExample:
[1]current_storestring · nullableOptional
403
Forbidden
application/json
get
/staffs/duplicate_email_staffs/Last updated
Was this helpful?

