Update event
This request is used to update the event by its identifier.
POST
https://api.eventgoose.com/v1/events/{id}
Authentication
Authenticate yourself using your organisation api token
Parameters
Note
Unlike the Create event
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.
name
string
optional
|
The name of the event. |
||||||||||||
description
longtext|null
optional
|
The description for the event. Set the value to |
||||||||||||
is_online
boolean
optional
|
Determine if the event has a physical location or not. If your event does have a physical location, the |
||||||||||||
venue
object
optional
|
The venue for the event. Note
This field is required if the
|
||||||||||||
type
string
optional
|
Determine the type of the event. Must be one of the following values: |
||||||||||||
dates
array|null
optional
|
When and at what time will the event take place. This will replace the current dates. If you want to delete the current dates, set the value to
|
||||||||||||
max_capacity
integer
optional
|
Set a daily max capacity for the event.
Note
This field is required if the |
||||||||||||
header_image
file|null
optional
|
An image that will be displayed inside the shop. Desired dimensions are Set the value to |
||||||||||||
header_video
string|null
optional
|
A video will be displayed inside the shop. For now only YouTube links are supported. Set the value to |
||||||||||||
extra_info
object|null
optional
|
An additional way to provide the shop with information about your event. Set the value to
|
||||||||||||
service_fee
number|null
optional
|
Set up a service fee for the event. Set the value to |
||||||||||||
legal
object
optional
|
This object contains al the legal documents and information for your event.
|
||||||||||||
mail_moments
array|null
optional
|
Setup one or multiple reminder mails for the event This will replace the current mail moments. If you want to delete the current mail moments, set the value to
|
Response
200
application/json
HTTP/1.1 200 OK
Content-Type: application/json
{
"id": "jL3DYVM4ApEBJn4w",
"name": "Golden Plains",
"is_continuous": false,
"dates": [
{
"id": "5dP8kGOmLlEwgmlr",
"starts_at": "2020-12-18T17:00:00.000000Z",
"ends_at": "2020-12-18T22:30:00.000000Z"
},
{
"id": "oLenyp2qbDMRAQVY",
"starts_at": "2020-12-19T17:00:00.000000Z",
"ends_at": "2020-12-19T22:30:00.000000Z"
}
],
"venue": {
"name": "Eventgoose: Online Tickets Verkopen",
"street": "F.B. Deurvorststraat",
"house_number": "43",
"addition": null,
"zipcode": "7071 BG",
"city": "Ulft",
"state": null,
"country": "Netherlands"
},
"shops": [
"a5KgQw2vqOPlAZJ9",
"3Q4aZe21jMrlkY6x"
],
"tickets": [
{
"id": "3Q4aZe21N0MrlkY6",
"name": "Regular",
"price": "50.00",
"service_fee": 1,
"min_order_amount": 0,
"max_order_amount": 10,
"sold_out": true
},
{
"id": "0nqJjGEj3WOedYPQ",
"name": "VIP",
"price": "75.00",
"service_fee": 1,
"min_order_amount": 0,
"max_order_amount": 10,
"sold_out": true
}
]
}