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
TypeAPI Key (header: X-CSRF-Token)
Request Body
application/json
JSON
{
"id": 1,
"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": [
{
"id": 0,
"name": "string",
"avatar": "string",
"isSleeping": true
}
],
"estimatedStoreCount": 12,
"modificationDate": "string",
"regionId": 0
}
Responses
Success