Skip to main content
POST
Invite to the team (email, deprecated)

Authorizations

X-API-Key
string
header
required

Path Parameters

shopId
string
required

Shop ID (ObjectId)

Body

application/json
email
string<email>
required

Invitee email

Example:

"kolega@example.com"

roles
string[]

Roles with permission presets: owner, admin, manager, support, viewer (and legacy view/edit/full).

Maximum array length: 10
Example:
customPermissions
string[]

Extra single permissions resource:action (e.g. 'products:write'), wildcards 'orders:' / ''. Granted ON TOP of roles.

Maximum array length: 64
Example:

Response

OK

success
boolean
Example:

true

data
object
message
string