Update staff account
PUT
https://app.ecwid.com/api/v3/{storeId}/staff/{staffAccountId}
Required access scopes
Your app must have the following access scopes to make this request: read_staff
, update_staff
Path params
All path params are required.
storeId
number
Ecwid store ID.
staffAccountId
string
Internal staff account ID.
Headers
The Authorization header is required.
Authorization
Bearer secret_ab***cd
Access token of the application.
Request JSON
A JSON object with the following fields:
string
Staff account email.
staffScopes
array of strings
Permissions enabled for the staff account. If empty, the account has all permissions. Learn more about staff account permissions in Help Center.
Response JSON
A JSON object with the following fields:
updateCount
number
The number of updated items that defines if the request was successful.
One of:
1
if the item was updated,
0
if the item was not updated.
Last updated
Was this helpful?