Skip to content

Creates a new store​

POST
/api/chains

The name must not be empty. All other parameters are optional. Returns the created store chain.

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

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

Request Body​

application/json
JSON
{
  
"name": "MyChain GmbH",
  
"status": 2,
  
"headquartersZip": "48149",
  
"headquartersCity": "Münster",
  
"headquartersCountry": "Germany",
  
"allowPress": true,
  
"forumThread": 12345,
  
"notes": "Cooperating since 2021",
  
"commonStoreInformation": "Pickup times between 10:00 and 12:15",
  
"kams": [
  
  
0
  
],
  
"estimatedStoreCount": 12
}

Responses​

Success

Playground​

Authorization
Body

Samples​