Create staff account

POST https://app.ecwid.com/api/v3/{storeId}/staff

Required access scopes

Your app must have the following access scopes to make this request: create_staff, invite_staff

Path params

All path params are required.

Param
Type
Description

storeId

number

Ecwid store ID.

Headers

The Authorization header is required.

Header
Format
Description

Authorization

Bearer secret_ab***cd

Access token of the application.

Request JSON

A JSON object with the following fields:

Field
Type
Description

email

string

Staff account email. Required

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:

Field
Type
Description

success

boolean

Invitation status. If true, the user successfully received invitation.

Last updated

Was this helpful?