Create a Shop
POST/shop
Creates a new Shop and attaches it to the requested Company.
Request
- application/json
Body
Input data
Possible values: <= 255 characters
The name of the Shop.
Possible values: <= 65536 characters
The description of the Shop.
Possible values: [auto
, enabled
, disabled
]
Default value: auto
Whether to show the Event selection as first step in the Shop. On default this will be enabled if there are 5 or more Events available.
Possible values: >= 8 characters
and <= 15 characters
A Google Tag code from Google Tag Manager to include in the Shop.
The terms of the Company of the Shop. This is a url.
Any custom css the Shop has.
Whether people should be auto-attended or not, when they are logging in with Facebook.
The full url to the Facebook Page. This will be shown in shop as header.
Whether for seats, orphan seats are allowed.
Whether a date should be preselected. When set to true, the shop always falls back to date-selection mode.
Responses
- 200
- 403
- 404
- 406
Shop created.
- application/json
- Schema
- Example (from schema)
Schema
The guid of the Shop.
Possible values: <= 255 characters
The name of the Shop.
Possible values: <= 65536 characters
The description of the Shop.
Possible values: [auto
, enabled
, disabled
]
Default value: auto
Whether to show the Event selection as first step in the Shop. On default this will be enabled if there are 5 or more Events available.
Possible values: >= 8 characters
and <= 15 characters
A Google Tag code from Google Tag Manager to include in the Shop.
The terms of the Company of the Shop. This is a url.
Any custom css the Shop has.
Whether people should be auto-attended or not, when they are logging in with Facebook.
The full url to the Facebook Page. This will be shown in shop as header.
Whether for seats, orphan seats are allowed.
Whether a date should be preselected. When set to true, the shop always falls back to date-selection mode.
Extra rules which can be enforced on the emails when placing Orders, i.e. Laraval validation rules.
Whether all emails should be unique, i.e. only 1 Order can be placed with the same email address.
Whether to allow auto pruning.
Calculated property, the Whitelabel terms a visitor has to accept.
Default value: EUR
Currency for the Orders, currently ignored.
Possible values: <= 3600
How long reserved Tickets and/or Products remain reserved. The time is in minutes.
The public key to use with Seats.io.
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"description": "string",
"event_selection": "auto",
"google_tag": "string",
"company_terms": "string",
"css": "string",
"facebook_auto_attend": true,
"facebook_page_url": "string",
"seats_allow_orphan": true,
"greedy_date_selection": true,
"email_validation_rule": "string",
"email_must_be_unique": true,
"auto_prune": true,
"global_terms": "string",
"currency": "EUR",
"reservation_time": 0,
"seats_public_key": "string"
}
Unauthorized. You do not have permission to manage the Shop for the Company.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Company not found.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Request is invalid, see error context for validation errors.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}