Update shop
This request is used to update the shop by its identifier.
POST
https://api.eventgoose.com/v1/shops/{id}
Authentication
Authenticate yourself using your organisation api token
Parameters
Note
Unlike the Create shop
resource most of the parameters in this resource will be optional.
This ensures that individual elements can be updated without including all the parameters over and over.
url
string
optional
|
A unique url (subdomain) to access the shop. For example: |
||||||||
events
array|null
optional
|
Attach one or multiple events to the shop by their identifier. This will replace the current events. If you want to delete the current events, set the value to |
||||||||
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 Set the value to |
||||||||
availability
array
optional
|
Determine when the shop will be available to the public. This will replace the current availability. If you want to delete the current availability, set the value to
|
||||||||
payment_methods
array
optional
|
The payment methods which the customers can pay with in the shop. The supported payment methods are: This will replace the current payment methods if they exist. If you want to delete the current payment methods, set the value to |
||||||||
google_analytics_tag
string
optional
|
A Google Analytics tag can be added to the shop for tracking purposes. Set the value to |
||||||||
facebook_pixel_id
string
optional
|
A Facebook Pixel ID can be added to the shop for tracking purposes. Set the value to |
||||||||
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. Set the value to
|
||||||||
custom_color
string
optional
|
Customize your shop with a hexadecimal color code. Set the value to |
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
}