Get (just) all (deleted) Shops
GET/shop/:type
Returns all Shops of the requested Company. When the Company has no Shops an empty array will be returned.
The "trashed" operation returns all Shops including deleted Shops.
The "justtrashed" operation returns only the deleted Shops.
Note, "normal" will yield the same result as without a type.
Request
Path Parameters
- "normal"
- Returns all the Shops except those which are deleted.
- "trashed"
- Returns all the Shops including those which are deleted.
- "justtrashed"
- Returns all and only the deleted Shops.
Possible values: [normal
, trashed
, justtrashed
]
Type of operations for querying deleted Shops.
Responses
- 200
- 403
- 404
Shops found.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
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 Shops of 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"
}