Default
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
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
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
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
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
403
Forbidden
application/json
get
/staffs/duplicate_email_staffs/Last updated
Was this helpful?

