Post tickets

Start the checkout proces by adding tickets to you cart.

POST https://api.eventgoose.com/v1/checkouts

Authentication

Authenticate yourself using your organisation api token

Parameters

event_id
string
required

The event identifier you want to order tickets from.

shop_id
string
required

The shop identifier you want to order tickets from.

tickets[{id}]
integer
required

An array of tickets with the amount as value. Note: multiple tickets can be added.

key: tickets[{id}]    value: amount

date
string
optional

If your event is continuous, add the date selected by the customer. The expected date format is YYYY-MM-DD

Available dates can be retrieved via the Get dates & timeslots resource.

timeslot_id
string
optional

If your event is continuous and supports timeslots, add the timeslot_id selected by the customer.

Available timeslots can be retrieved via the Get dates & timeslots resource.

Response

200 application/json

An object is returned with the session and the expired_at date.

    HTTP/1.1 200 OK
Content-Type: application/json

{
    "session": "3lA7BW0qpverxOygYM4ndwm6RoXgjL",
    "expires_at": "2020-12-10T13:12:19.000000Z"
}