Skip to content

Create a new store

POST
/api/regions/{regionId}/stores

Chat channels for the team and standby team members will
be created alongside the store. The calling user will be added as the only member and be made store manager.
All members of the region are notified via bell about the new store.

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Path Parameters

regionId*
Typestring
Required
Pattern"[1-9][0-9]*"

Request Body

application/json
JSON
{
"store": {
"name": "string",
"location": {
"lat": 52.5,
"lon": 13.4
},
"street": "string",
"zipCode": "string",
"city": "string",
"publicInfo": "string"
},
"firstPost": "string"
}

Responses

Success

application/json
JSON
{
"id": 0
}

Playground

Authorization
Variables
Key
Value
Body

Samples

cURL
JavaScript
PHP
Python