post https://app.ecwid.com/api/v3//staff
Create a staff account for a store by sending an invitation to an email.
Access scopes
Requires the following access scope: create_staff
Response
A JSON object with the following fields:
CreateStatus
Field | Type | Description |
---|---|---|
success | boolean | Status of sent invitation |
Errors
In case of error, Ecwid responds with an error HTTP status code and JSON-formatted body containing error description.
HTTP codes
HTTP Status | Response JSON | Description |
---|---|---|
400 | Request parameters are malformed | |
409 | The customer with the given email already exists | |
415 | Unsupported content-type: expected application/json or text/json | |
500 | The creation request failed because of an error on the server |
Error response body (optional)
Field | Type | Description |
---|---|---|
errorMessage | string | Error message |