Appearance
OCTO integration
XS2Event offers an OCTO (Open Connectivity for Tours, Activities and Attractions) interface next to our own API.
This page is for resellers and platforms that already speak OCTO and want to sell XS2Event tickets without building against our native API. It describes what we support, how XS2Event data maps to OCTO, and where we differ from the OCTO specification.
Overview
| Environment | Base URL |
|---|---|
| Test/Staging | https://testapi.xs2event.com/v1/octo |
| Production | https://api.xs2event.com/v1/octo |
All paths on this page are relative to the base URL, for example GET https://api.xs2event.com/v1/octo/products.
Getting access
Send your XS2Event account manager an email. During onboarding we:
- create an API key for you with OCTO access;
- agree the retail markup, the delivery format and the ticket link for your account (see Pricing and Delivery & tickets).
Start on Test/Staging and move to Production once you pass the go-live checklist.
Capabilities
We support the OCTO core plus the octo/pricing and octo/content capabilities. GET /supplier and the product endpoints return them in the Octo-Capabilities response header:
Octo-Capabilities: octo/pricing, octo/contentYou don't need to send an Octo-Capabilities request header; we ignore it and always return prices.
Authentication
Send your XS2Event API key as a Bearer token on every request:
| Header | Value |
|---|---|
| Authorization | Bearer <your API key> |
| Content-Type | application/json (POST requests) |
| Status | error | When |
|---|---|---|
401 | UNAUTHORIZED | The Authorization header is missing, is not Bearer …, or is empty. |
403 | FORBIDDEN | The key is unknown or deactivated, or it has no OCTO access. |
How XS2Event maps to OCTO
| OCTO | XS2Event | Id | Notes |
|---|---|---|---|
| Product | An event | XS2Event's event_id | Only upcoming events with stock are listed. |
| Option | A ticket of that event | XS2Event's ticket_id | Named after the ticket's category (internalName). Only tickets valid on the event's own start and end dates are offered. |
| Unit | To follow the OCTO specification, every option has one unit with the fixed id standard and type ADULT. | ||
| Availability | The same ticket | XS2Event's ticket_id (= option id) | availabilityId is always equal to optionId. |
| Vacancies | Number of available tickets | Returned as vacancies (and capacity) on availability. | |
| Unit items | Tickets booked | One unitItems entry per ticket: three tickets = three unitItems with unitId: "standard". |
So a product "Internazionale vs Genoa Tickets" with two ticket categories looks like this (shortened):
json
{
"id": "a1b2c3d4e5f64a7b8c9d0e1f2a3b4c5d_evt",
"internalName": "Internazionale vs Genoa Tickets",
"timeZone": "UTC",
"availabilityType": "START_TIME",
"deliveryFormats": ["PDF_URL"],
"defaultCurrency": "EUR",
"pricingPer": "UNIT",
"options": [
{
"id": "9f8e7d6c5b4a4f3e2d1c0b9a8f7e6d5c_tck",
"internalName": "Longside 2nd ring",
"cancellationCutoffAmount": 17520,
"cancellationCutoffUnit": "hour",
"requiredContactFields": ["firstName", "lastName", "email"],
"units": [
{
"id": "standard",
"type": "ADULT",
"pricingFrom": [
{ "net": 10000, "retail": 11764, "original": 11764, "currency": "EUR", "currencyPrecision": 2, "includedTaxes": [] }
]
}
]
},
{
"id": "1a2b3c4d5e6f4a7b8c9d0e1f2a3b4c5d_tck",
"internalName": "Longside Lower Corner",
"units": [{ "id": "standard", "type": "ADULT" }]
}
]
}To book two "Longside 2nd ring" tickets for this event, the create booking request (explained in the booking flow below) contains:
json
{
"productId": "a1b2c3d4e5f64a7b8c9d0e1f2a3b4c5d_evt",
"optionId": "9f8e7d6c5b4a4f3e2d1c0b9a8f7e6d5c_tck",
"availabilityId": "9f8e7d6c5b4a4f3e2d1c0b9a8f7e6d5c_tck",
"unitItems": [{ "unitId": "standard" }, { "unitId": "standard" }]
}productId: the event's id ("Internazionale vs Genoa").optionIdandavailabilityId: both the ticket's id ("Longside 2nd ring").unitItems: one entry per ticket, so two entries for two tickets.
Pricing
- All amounts are integers in euro cents (
currencyPrecision: 2):10000is €100.00. - EUR is the only currency. A
currencysent in a request is ignored. netis the XS2Event sales price: what you pay us per ticket, invoiced to you.retail(andoriginal) is a suggested consumer price that includes the markup agreed with XS2Event during onboarding, so you can show it in your channel directly. The markup is a percentage of the retail price:retail = net / (1 − markup), rounded down. With 15%, a net of10000gives a retail of11764.includedTaxesis always an empty list.
Prices appear on unit pricingFrom (products), unitPricing and pricing (availability), and pricing (bookings, total for all units).
Booking flow
- Products: fetch the catalogue and store product and option ids.
- Availability: check vacancies and the current price for the date.
- Reserve:
POST /bookingsholds the tickets for 30 minutes (utcExpiresAt). - Extend (optional): only while the booking is
ON_HOLD. - Confirm: send the lead guest
contact. This creates the XS2Event booking, invoiced to your account. The status becomesCONFIRMED. - Deliver: read the voucher from the confirm response or
GET /bookings/{uuid}.
A booking that is not confirmed before utcExpiresAt is released and can no longer be confirmed; create a new one.
Endpoint reference
All paths are relative to the base URL and need the Authorization header. Each endpoint links to its page in the OCTO API reference; the examples below show what XS2Event returns.
GET /supplier — Supplier details
GET /v1/octo/supplierResponse 200
json
{
"id": "fffbe78dcdd34bf180cd616a1c6941c1_spp",
"name": "XS2Event",
"endpoint": "https://api.xs2event.com/v1/",
"contact": {
"website": "https://xs2event.com/",
"email": "support@xs2event.com",
"telephone": "310850045378",
"address": "Hereweg 95a, 9721AA Groningen, The Netherlands"
}
}GET /products — List products
GET /v1/octo/productsReturns all upcoming events with stock as an array of products. The list is not paginated.
Response 200
json
[
{
"id": "a1b2c3d4e5f64a7b8c9d0e1f2a3b4c5d_evt",
"internalName": "Internazionale vs Genoa Tickets",
"reference": "a1b2c3d4e5f64a7b8c9d0e1f2a3b4c5d_evt-24/25",
"locale": "en-US",
"timeZone": "UTC",
"allowFreesale": true,
"instantConfirmation": true,
"instantDelivery": false,
"availabilityRequired": true,
"availabilityType": "START_TIME",
"deliveryFormats": ["PDF_URL"],
"deliveryMethods": ["VOUCHER"],
"redemptionMethod": "DIGITAL",
"options": [
{
"id": "9f8e7d6c5b4a4f3e2d1c0b9a8f7e6d5c_tck",
"default": false,
"internalName": "Longside 2nd ring",
"reference": "9f8e7d6c5b4a4f3e2d1c0b9a8f7e6d5c_tck",
"availabilityLocalStartTimes": ["14:00"],
"cancellationCutoff": "17520 hours",
"cancellationCutoffAmount": 17520,
"cancellationCutoffUnit": "hour",
"requiredContactFields": ["firstName", "lastName", "email"],
"restrictions": { "minUnits": 1, "maxUnits": 10 },
"units": [
{
"id": "standard",
"internalName": "Standard Ticket",
"reference": "standard",
"type": "ADULT",
"restrictions": { "minAge": 18, "maxAge": 99, "idRequired": false, "minQuantity": 1, "maxQuantity": 10, "paxCount": 1, "accompaniedBy": [] },
"requiredContactFields": [],
"pricingFrom": [
{ "original": 11764, "retail": 11764, "net": 10000, "currency": "EUR", "currencyPrecision": 2, "includedTaxes": [] }
]
}
]
}
],
"defaultCurrency": "EUR",
"availableCurrencies": ["EUR"],
"pricingPer": "UNIT"
}
]| Field | Value |
|---|---|
id | XS2Event's event_id |
internalName | Event name + " Tickets" |
reference | <event_id>-<season> |
locale / timeZone | en-US / UTC |
availabilityType | START_TIME |
availabilityRequired, instantConfirmation, allowFreesale | true |
instantDelivery | false |
deliveryFormats | ["QRCODE"] or ["PDF_URL"], as agreed during onboarding |
deliveryMethods / redemptionMethod | ["VOUCHER"] / DIGITAL |
defaultCurrency / availableCurrencies | EUR / ["EUR"] |
pricingPer | UNIT |
options[].id / reference | XS2Event's ticket_id |
options[].internalName | Ticket category name |
options[].requiredContactFields | From the event's guest requirements, see Guest/contact data |
options[].restrictions | minUnits: 1, maxUnits: 10 |
options[].units | One unit, id: "standard", type: "ADULT", with pricingFrom |
GET /products/{productId} — Get a product
GET /v1/octo/products/a1b2c3d4e5f64a7b8c9d0e1f2a3b4c5d_evt| Path parameter | Description |
|---|---|
productId | XS2Event's event_id |
Response 200: one product, the same object as in GET /products.
json
{
"id": "a1b2c3d4e5f64a7b8c9d0e1f2a3b4c5d_evt",
"internalName": "Internazionale vs Genoa Tickets",
"options": [{ "id": "9f8e7d6c5b4a4f3e2d1c0b9a8f7e6d5c_tck", "internalName": "Longside 2nd ring" }]
}Response 400: unknown or past event.
json
{
"error": "INVALID_PRODUCT_ID",
"errorMessage": "Product a1b2c3d4e5f64a7b8c9d0e1f2a3b4c5d_evt does not exist in the system",
"productId": "a1b2c3d4e5f64a7b8c9d0e1f2a3b4c5d_evt"
}POST /availability — Check availability
POST /v1/octo/availabilityRequest
json
{
"productId": "a1b2c3d4e5f64a7b8c9d0e1f2a3b4c5d_evt",
"optionId": "9f8e7d6c5b4a4f3e2d1c0b9a8f7e6d5c_tck",
"localDate": "2027-02-14",
"units": [{ "id": "standard", "quantity": 2 }]
}| Field | Required | Description |
|---|---|---|
productId | Yes | XS2Event's event_id |
optionId | Yes | XS2Event's ticket_id, a ticket of the same event |
localDate | One of these three | A single date (YYYY-MM-DD) |
localDateStart + localDateEnd | A date range | |
availabilityIds | Accepted, but returns the next 30 days | |
units | No | With quantity, the response includes the total pricing |
Response 200: an array with at most one entry, the ticket itself.
json
[
{
"id": "9f8e7d6c5b4a4f3e2d1c0b9a8f7e6d5c_tck",
"localDateTimeStart": "2027-02-14T19:45:00Z",
"localDateTimeEnd": "2027-02-14T21:45:00Z",
"allDay": false,
"available": true,
"status": "AVAILABLE",
"vacancies": 24,
"capacity": 24,
"maxUnits": 4,
"utcCutoffAt": "2027-02-12T12:00:00Z",
"openingHours": [{ "from": "17:45", "to": "23:45" }],
"unitPricing": [
{ "unitId": "standard", "net": 10000, "retail": 11764, "original": 11764, "currency": "EUR", "currencyPrecision": 2, "includedTaxes": [] }
],
"pricing": { "net": 20000, "retail": 23528, "original": 23528, "currency": "EUR", "currencyPrecision": 2, "includedTaxes": [] }
}
]| Field | Value |
|---|---|
id | The ticket id, equal to optionId. Use it as availabilityId when booking. |
status | AVAILABLE or SOLD_OUT |
vacancies / capacity | Number of available tickets |
maxUnits | Largest group we can seat together for this ticket |
utcCutoffAt | Last moment the ticket can be sold, when set |
openingHours | Gates open and close around the event |
POST /availability/calendar — Availability per date
POST /v1/octo/availability/calendarRequest
json
{
"productId": "a1b2c3d4e5f64a7b8c9d0e1f2a3b4c5d_evt",
"optionId": "9f8e7d6c5b4a4f3e2d1c0b9a8f7e6d5c_tck",
"localDateStart": "2027-02-13",
"localDateEnd": "2027-02-14",
"units": [{ "id": "standard", "quantity": 2 }]
}productId, optionId, localDateStart and localDateEnd are required; units is optional.
Response 200: one entry per date in the range. Dates without the ticket have status CLOSED.
json
[
{ "localDate": "2027-02-13", "available": false, "status": "CLOSED", "vacancies": 0, "capacity": 0, "openingHours": [] },
{
"localDate": "2027-02-14",
"available": true,
"status": "AVAILABLE",
"vacancies": 24,
"capacity": 24,
"openingHours": [{ "from": "17:45", "to": "23:45" }],
"unitPricingFrom": [
{ "unitId": "standard", "net": 10000, "retail": 11764, "original": 11764, "currency": "EUR", "currencyPrecision": 2, "includedTaxes": [] }
],
"pricingFrom": [
{ "net": 20000, "retail": 23528, "original": 23528, "currency": "EUR", "currencyPrecision": 2, "includedTaxes": [] }
]
}
]POST /bookings — Create a booking
POST /v1/octo/bookingsReserves the tickets and returns a booking with status ON_HOLD, held for 30 minutes.
Request
json
{
"uuid": "6f1c2d9e-4b7a-4e2f-9c1d-3a5b7c9e1f20",
"productId": "a1b2c3d4e5f64a7b8c9d0e1f2a3b4c5d_evt",
"optionId": "9f8e7d6c5b4a4f3e2d1c0b9a8f7e6d5c_tck",
"availabilityId": "9f8e7d6c5b4a4f3e2d1c0b9a8f7e6d5c_tck",
"unitItems": [{ "unitId": "standard" }, { "unitId": "standard" }],
"resellerReference": "RES-123456"
}| Field | Required | Description |
|---|---|---|
uuid | No | Your own booking UUID; we generate one if you leave it out. |
productId | Yes | XS2Event's event_id |
optionId | Yes | XS2Event's ticket_id |
availabilityId | Yes | Must equal optionId |
unitItems | Yes | One entry per ticket; unitId must be standard |
resellerReference | No | Your reference. Defaults to the booking UUID. |
Response 200 (shortened):
json
{
"id": "6f1c2d9e-4b7a-4e2f-9c1d-3a5b7c9e1f20",
"uuid": "6f1c2d9e-4b7a-4e2f-9c1d-3a5b7c9e1f20",
"supplierReference": "6f1c2d9e-4b7a-4e2f-9c1d-3a5b7c9e1f20",
"resellerReference": "RES-123456",
"status": "ON_HOLD",
"testMode": false,
"cancellable": false,
"freesale": false,
"utcCreatedAt": "2027-01-10T10:00:00Z",
"utcUpdatedAt": "2027-01-10T10:00:00Z",
"utcExpiresAt": "2027-01-10T10:30:00Z",
"utcConfirmedAt": null,
"productId": "a1b2c3d4e5f64a7b8c9d0e1f2a3b4c5d_evt",
"optionId": "9f8e7d6c5b4a4f3e2d1c0b9a8f7e6d5c_tck",
"availabilityId": "9f8e7d6c5b4a4f3e2d1c0b9a8f7e6d5c_tck",
"availability": {
"id": "9f8e7d6c5b4a4f3e2d1c0b9a8f7e6d5c_tck",
"localDateTimeStart": "2027-02-14T19:45:00Z",
"localDateTimeEnd": "2027-02-14T21:45:00Z",
"allDay": false
},
"contact": { "fullName": null, "firstName": null, "lastName": null, "emailAddress": null, "phoneNumber": null, "locales": ["en"], "country": null, "notes": null },
"unitItems": [
{ "uuid": "…", "unitId": "standard", "status": "ON_HOLD" },
{ "uuid": "…", "unitId": "standard", "status": "ON_HOLD" }
],
"pricing": { "net": 20000, "retail": 23528, "original": 23528, "currency": "EUR", "currencyPrecision": 2, "includedTaxes": [] },
"deliveryMethods": ["VOUCHER"],
"voucher": {
"redemptionMethod": "DIGITAL",
"deliveryOptions": [{ "deliveryFormat": "PDF_URL", "deliveryValue": "…" }]
}
}| Field | Value |
|---|---|
id / uuid / supplierReference | The booking UUID |
status | ON_HOLD, CONFIRMED, EXPIRED or CANCELLED |
utcExpiresAt | End of the hold, while ON_HOLD |
cancellable / testMode | Always false |
unitItems[].ticket | Always empty |
pricing | Total for all unit items, see Pricing |
voucher.deliveryOptions | A placeholder until the booking is CONFIRMED, see Delivery & tickets |
Response 422: the tickets can't be reserved.
json
{
"error": "UNPROCESSABLE_ENTITY",
"errorMessage": "Booking cannot be created"
}POST /bookings/{uuid}/extend — Extend the hold
POST /v1/octo/bookings/6f1c2d9e-4b7a-4e2f-9c1d-3a5b7c9e1f20/extendRequest
json
{ "expirationMinutes": 15 }| Field | Required | Description |
|---|---|---|
expirationMinutes | No | The hold ends now + this many minutes. Default 15. |
Response 200: the booking (see POST /bookings) with the new utcExpiresAt.
json
{
"id": "6f1c2d9e-4b7a-4e2f-9c1d-3a5b7c9e1f20",
"status": "ON_HOLD",
"utcExpiresAt": "2027-01-10T10:40:00Z"
}Response 400: the booking is not ON_HOLD.
json
{
"error": "UNPROCESSABLE_ENTITY",
"errorMessage": "Status must be ONHOLD to extend reservation. Status is CONFIRMED"
}PATCH is not supported.
POST /bookings/{uuid}/confirm — Confirm a booking
POST /v1/octo/bookings/6f1c2d9e-4b7a-4e2f-9c1d-3a5b7c9e1f20/confirmCreates the XS2Event booking, invoiced to your account.
Request
json
{
"resellerReference": "RES-123456",
"contact": {
"firstName": "Jane",
"lastName": "Doe",
"emailAddress": "jane.doe@example.com",
"phoneNumber": "+31612345678",
"country": "NL"
}
}| Field | Required | Description |
|---|---|---|
contact | Yes | The lead guest. We store firstName, lastName, emailAddress, phoneNumber and country (ISO 3166-1 alpha-2). Contacts on unitItems are ignored. |
resellerReference | No | Overrides the value sent on create. |
Response 200: the booking (see POST /bookings) with status CONFIRMED, the contact and the final voucher.
json
{
"id": "6f1c2d9e-4b7a-4e2f-9c1d-3a5b7c9e1f20",
"status": "CONFIRMED",
"utcExpiresAt": null,
"utcConfirmedAt": "2027-01-10T10:12:00Z",
"contact": {
"fullName": null,
"firstName": "Jane",
"lastName": "Doe",
"emailAddress": "jane.doe@example.com",
"phoneNumber": "+31612345678",
"locales": ["en"],
"country": "NL",
"notes": null
},
"voucher": {
"redemptionMethod": "DIGITAL",
"deliveryOptions": [
{ "deliveryFormat": "PDF_URL", "deliveryValue": "https://xs2ticket.com/<your-slug>?bookingcode=<booking code>" }
]
}
}Response 422: the booking can't be confirmed, for example because the hold expired.
json
{
"error": "UNPROCESSABLE_ENTITY",
"errorMessage": "Booking cannot be confirmed"
}GET /bookings/{uuid} — Get a booking
GET /v1/octo/bookings/6f1c2d9e-4b7a-4e2f-9c1d-3a5b7c9e1f20Response 200: the booking, the same object as POST /bookings returns.
json
{
"id": "6f1c2d9e-4b7a-4e2f-9c1d-3a5b7c9e1f20",
"uuid": "6f1c2d9e-4b7a-4e2f-9c1d-3a5b7c9e1f20",
"resellerReference": "RES-123456",
"status": "CONFIRMED",
"productId": "a1b2c3d4e5f64a7b8c9d0e1f2a3b4c5d_evt",
"optionId": "9f8e7d6c5b4a4f3e2d1c0b9a8f7e6d5c_tck",
"unitItems": [
{ "uuid": "…", "unitId": "standard", "status": "CONFIRMED" },
{ "uuid": "…", "unitId": "standard", "status": "CONFIRMED" }
],
"voucher": {
"redemptionMethod": "DIGITAL",
"deliveryOptions": [
{ "deliveryFormat": "PDF_URL", "deliveryValue": "https://xs2ticket.com/<your-slug>?bookingcode=<booking code>" }
]
}
}Response 400: no booking with this uuid for your account.
json
{
"error": "INVALID_BOOKING_UUID",
"errorMessage": "Booking 6f1c2d9e-4b7a-4e2f-9c1d-3a5b7c9e1f20 does not exist in the system",
"uuid": "6f1c2d9e-4b7a-4e2f-9c1d-3a5b7c9e1f20"
}GET /bookings — List bookings
GET /v1/octo/bookings?resellerReference=RES-123456| Query parameter | Filters on |
|---|---|
resellerReference | Your reseller reference |
supplierReference | The booking UUID |
productId / optionId | XS2Event's event_id / ticket_id |
localDate or localDateStart + localDateEnd | Event start date (YYYY-MM-DD) |
All parameters are optional.
Response 200: an array of bookings (see POST /bookings). Only ON_HOLD and CONFIRMED bookings are listed, not paginated.
json
[
{
"id": "6f1c2d9e-4b7a-4e2f-9c1d-3a5b7c9e1f20",
"resellerReference": "RES-123456",
"status": "CONFIRMED",
"productId": "a1b2c3d4e5f64a7b8c9d0e1f2a3b4c5d_evt",
"optionId": "9f8e7d6c5b4a4f3e2d1c0b9a8f7e6d5c_tck"
}
]POST /bookings/{uuid}/cancel — Cancel a booking
POST /v1/octo/bookings/6f1c2d9e-4b7a-4e2f-9c1d-3a5b7c9e1f20/cancelCancellation is not supported.
Request
json
{ "reason": "Customer changed plans" }Response 422: always.
json
{
"error": "UNPROCESSABLE_ENTITY",
"errorMessage": "Booking cannot be cancelled"
}Delivery & tickets
The voucher holds one delivery option, in the format agreed with XS2Event during onboarding:
deliveryFormat | deliveryValue |
|---|---|
QRCODE | The XS2Event booking code, to render as a QR code. |
PDF_URL | A link to the XS2Event ticket page: https://xs2ticket.com/<your-slug>?bookingcode=<booking code>. Your guest opens the page and gets the tickets there once they are available. |
The delivery value is only final once the booking is CONFIRMED; on an ON_HOLD booking it is a placeholder. unitItems[].ticket is always empty: tickets are delivered per booking, not per unit.
See E-tickets for how XS2Event releases tickets.
Guest/contact data
Each option lists requiredContactFields, derived from the event's XS2Event guest requirements. Possible values:
firstName, lastName, fullName, email, phone, gender, dateOfBirth, country, nationality, passportNumber, passportExpiry, address, postalCode, city, emergencyContact, dietaryRequirements, mobilityRequirements, medicalConditions.
On confirm we only accept one lead contact with firstName, lastName, emailAddress, phoneNumber and country. If an option requires more than that (for example passport data, or data for every guest), agree with XS2Event during onboarding how you supply it.
Errors
Errors use the OCTO error format:
json
{
"error": "INVALID_OPTION_ID",
"errorMessage": "Option 9f8e7d6c5b4a4f3e2d1c0b9a8f7e6d5c_tck does not exist in the system",
"optionId": "9f8e7d6c5b4a4f3e2d1c0b9a8f7e6d5c_tck"
}An invalid request body or query returns 400 BAD_REQUEST with errorMessage: "Invalid request". Some validation and data errors add a fields list of { "field": "…", "message": "…" } objects.
| Status | error | When |
|---|---|---|
400 | INVALID_PRODUCT_ID | Unknown or past event. |
400 | INVALID_OPTION_ID | Unknown ticket, or not available to you. |
400 | INVALID_AVAILABILITY_ID | Unknown availability id. |
400 | INVALID_UNIT_ID | unitId is not standard. |
400 | INVALID_BOOKING_UUID | No booking with this uuid for your account. |
400 | BAD_REQUEST | Malformed body or query, or a missing required field. |
400 | UNPROCESSABLE_ENTITY | Valid ids that don't fit together (option not in product, availabilityId ≠ optionId), or extending a booking that is not ON_HOLD. |
401 | UNAUTHORIZED | Missing or malformed Authorization header. |
403 | FORBIDDEN | Unknown key or no OCTO access. |
422 | UNPROCESSABLE_ENTITY | The booking can't be created, confirmed or cancelled. |
500 | INTERNAL_SERVER_ERROR | Unexpected error; retry later or contact support. |
Limitations & differences from the OCTO spec
- No cancellations. Cancel always returns
422; options state acancellationCutoffof17520 hoursand bookingscancellable: false. - One unit type. Every option has a single
standard(ADULT) unit; there are no child, senior or other unit prices. - Availability id = option id. There is one availability per option, matching the ticket's validity window.
- Times are UTC.
timeZoneisUTCandlocalDateTime*values are UTC with aZsuffix, not the venue's local time. availabilityIdsselector. Accepted onPOST /availability, but the response covers the next 30 days instead of the given ids.- EUR only. Other currencies are not supported.
testModeis alwaysfalse. Use the Test/Staging environment for test bookings.- One lead contact. Per-unit contacts are ignored; see Guest/contact data.
- No pagination on
GET /productsorGET /bookings. - Not supported: webhooks, pickups, booking updates (
PATCH /bookings/{uuid}), content fields such as descriptions, media and FAQs.
Testing & go-live checklist
On Test/Staging, check that you can:
- [ ] Authenticate with
Authorization: Bearer <key>and get your products fromGET /products. - [ ] Map products, options and the
standardunit, and sendavailabilityId=optionId. - [ ] Show prices from
net/retailin euro cents. - [ ] Check availability for a date and handle
SOLD_OUT. - [ ] Reserve, optionally extend, and confirm a booking with a lead
contact. - [ ] Handle an expired hold by creating a new booking.
- [ ] Read the voucher (
QRCODEorPDF_URL) from aCONFIRMEDbooking and show it to your guest. - [ ] Find bookings back with
GET /bookings/{uuid}andGET /bookings?resellerReference=…. - [ ] Handle every error in Errors, and not offer cancellation to your customers.
Then ask your account manager for a Production key and switch the base URL to https://api.xs2event.com/v1/octo.