Skip to content

Invite a user to a store team

POST
/api/stores/{storeId}/invitations/{userId}

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Path Parameters

storeId*
Typestring
Required
Pattern"[1-9][0-9]*"
userId*
Typestring
Required
Pattern"[1-9][0-9]*"

Responses

Success.

application/json
JSON
{
"user": {
"id": 342528,
"name": "Franzi",
"avatar": "/api/uploads/99d1fb45-9748-3510-ac02-87b46c40048c",
"isSleeping": true
},
"verified": true,
"date": "string",
"inviter": {
"id": 342528,
"name": "Franzi",
"avatar": "/api/uploads/99d1fb45-9748-3510-ac02-87b46c40048c",
"isSleeping": true
}
}

Playground

Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python