Create shop
This request is used to create a new shop inside your organisation.
POST
https://api.eventgoose.com/v1/shops
Authentication
Authenticate yourself using your organisation api token
Parameters
url
string
required
|
A unique url (subdomain) to access the shop. For example: |
||||||||
events
array
optional
|
Attach one or multiple events to the shop by their identifier. |
||||||||
language
string
optional
|
The default language the shop will be presented in. Must be one of the following values: |
||||||||
header_image
file
optional
|
An image that will be displayed inside the shop. Desired dimensions are |
||||||||
availability
array
optional
|
Determine when the shop will be available to the public.
|
||||||||
payment_methods
array
optional
|
The payment methods which the customers can pay with in the shop. The supported payment methods are: |
||||||||
google_analytics_tag
string
optional
|
A Google Analytics tag can be added to the shop for tracking purposes. |
||||||||
facebook_pixel_id
string
optional
|
A Facebook Pixel ID can be added to the shop for tracking purposes. |
||||||||
social
object
optional
|
Provide the shop with links to your social media.
|
||||||||
protected
boolean
optional
|
Determine if the shop is protected or not. |
||||||||
queue
object
optional
|
Setup a queue for the shop.
|
||||||||
custom_color
string
optional
|
Customize your shop with a hexadecimal color code. |
Response
200
application/json
HTTP/1.1 200 OK
Content-Type: application/json
{
"id": "a5KgQw2vqOPlAZJ9",
"url": "shop1",
"full_url": "https://shop1.eventgoose.com",
"banner": null,
"language": "EN",
"html": null,
"css": null,
"custom_color": null,
"text": null,
"protected": false,
"invoicing": false,
"availability": [],
"socials": [],
"is_available": true
}