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

Type
API Key (header: X-CSRF-Token)

Parameters​

Path Parameters

storeId*
Type
integer
Required
Minimum
1
userId*
Type
integer
Required
Minimum
1

Responses​

Success.

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

Playground​

Authorization
Variables
Key
Value

Samples​