Creates a new store.
This method creates a new store. The store will initial contains the provided information. Additional the platform will prepare the chat channels for team and sprinters.
The calling user is added as first store responsible in the store team. You can add an initial first post on the store wall for all following members.
After creation the platform informs all members of the related region about the new store.
Path Parameters
- regionId string required
- application/json
Request Body
store object required
oneOf- MOD1
name Name of the store. requiredPossible values:
<= 120 characters
location object required
oneOf- MOD1
lat floatlon floatstreet Street name with street number. requiredPossible values:
<= 120 characters
zipCode Zip code. requiredPossible values:
<= 5 characters
city City name. requiredPossible values:
<= 50 characters
publicInfo Public information about the store which is visible for users which are looking for a store. requiredPossible values:
<= 200 characters
- firstPost Optional first comment in store wall of the new store.
Possible values:
<= 180 characters
Responses
- 201
- 400
- 401
- 403
Created the new store and informed region members provides
- application/json
- Schema
- Example (from schema)
Schema
- id The unique identifier of the store.
{
"id": 0
}
Invalid body data
Not logged in
No permission to create a store
Loading...