Download OpenAPI specification:Download
Sell the activities and hotels a tenant shares with you, and book them, from your own system.
Base path: /api/distribution/v1.
Authentication: get a token from POST /Oauth/token with your client credentials and send it as Authorization: Bearer {token}. Tokens last 60 minutes.
Flow: sync content (GET /activities, GET /accommodations), check availability for a date, reserve a line with its availabilityId (POST /bookings), then confirm it before the hold expires.
Conventions: JSON in camelCase. Prices are decimals in the currency given beside them: gross is the minimum price you may sell at, net is what you owe. Lists page with an opaque page token: pass back nextPage until it is null. Errors are application/problem+json. Calls are rate limited per reseller (429 when exceeded).
Get an access token with your client credentials (OAuth 2.0 client credentials grant) and send it as Authorization: Bearer {token} on every other call. GET /ping needs no token; GET /ping/reseller shows who a token belongs to.
The new secret is shown once, in this response; store it straight away. The old secret stops working immediately, but tokens already issued stay valid until they expire.
{ "client_id": "reseller-acme", "client_secret": "q7Jx9vT2mLp4Rk8sWd3fZb6nHc1yGe5u", "rotated_at": "2026-11-10T10:05:00Z" }
Send a form-encoded body with grant_type=client_credentials, client_id and client_secret, or put the client id and secret in an HTTP Basic Authorization header instead. Send the token as "Authorization: Bearer {access_token}" on every other call, and request a new one before expires_in runs out. Errors use the OAuth 2.0 shape: invalid_client (401) for wrong credentials or a reseller that isn't approved, unsupported_grant_type (400), and unauthorized_client (400) for a reseller that isn't set up for API access.
| grant_type | string Always client_credentials. |
| client_id | string Your client id (or send it in an HTTP Basic header). |
| client_secret | string Your client secret (or send it in an HTTP Basic header). |
{ "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJyZXNlbGxlci1hY21lIn0.c2lnbmF0dXJl", "token_type": "Bearer", "expires_in": 3600 }
Sync the activities you can sell (GET /activities, paged and incremental), check availability and prices for a date (POST /activities/availability), and browse a calendar of up to 10 activities at once. Each availability line describes its pricing scheme (pricingType, priceUnit, rate, priceGroup, tier, unitLimits, group, perBookingCategories) and carries the availabilityId you book with.
Read every page: pass each response's nextPage back as page until it is null. A full sync (no modifiedSince) lists active activities only, and anything you hold that isn't listed is gone. A delta (with modifiedSince) also lists each activity to remove as a state "removed" entry with a reason: unassigned, excluded, disabled or hidden. Store the time you started a sync and use it as the next modifiedSince.
| country | string Country name, as in the product's COUNTRY_NAME attribute (e.g. "Norway", not "NO"). Case-insensitive. |
| city | string City, as in the product's CITY attribute. Case-insensitive. |
| includeDisabled | boolean Also list products that are switched off or outside their enabled period. |
| modifiedSince | string <date-time> Return only what changed at or after this time (UTC), with each product to remove as a state "removed" entry, paged with the rest. |
| modifiedTo | string <date-time> Upper bound for modifiedSince (inclusive). Requires modifiedSince. |
| page | string Opaque token: omit for the first page, then pass back nextPage. |
| pageSize | integer <int32> 1-100, default 20. |
{ "products": [ { "state": "active", "internalName": "Fjord Safari Bergen", "reference": "BK-48213", "type": "ACTIVITY", "title": "Fjord Safari from Bergen", "shortDescription": "A 2-hour RIB ride into the Osterfjord.", "description": "Speed out of Bergen harbour in a rigid inflatable boat and explore narrow sounds, waterfalls and seal colonies.", "media": [ { "type": "image", "rel": "COVER", "src": "https://images.example.com/fjord-safari/main_1200.jpg" }, { "type": "image", "rel": "GALLERY", "src": "https://images.example.com/fjord-safari/2_1200.jpg" } ], "locations": [ { "location": { "latitude": 60.3971, "longitude": 5.3221, "address": { "city": "Bergen", "addressLine": "Zachariasbryggen, Bergen harbour" } } } ], "options": [], "duration": "2 hours", "whatIsIncluded": [ "Survival suit, gloves and goggles", "Guide" ], "whatIsNotIncluded": [ "Hotel pickup (available at extra cost)" ], "requirements": [ "Minimum height 130 cm" ], "attention": [ "Not suitable for pregnant travellers" ], "whatToBring": [ "Warm clothes" ], "directions": [], "guideLanguages": [ "English", "Norwegian" ], "ageLimit": "From 6 years", "phone": "+47 55 00 00 01", "countryName": "Norway", "region": "Vestland", "accessToLocation": null, "id": "4f6c2a1e-8b3d-4c7a-9e21-5a0d3f7b9c12" } ], "nextPage": "eyJza2lwIjoyMH0" }
404 when the activity doesn't exist, isn't shared with you, or is hidden from you: the three are deliberately indistinguishable.
| productId required | string <uuid> The activity id. |
{ "internalName": "Fjord Safari Bergen", "reference": "BK-48213", "type": "ACTIVITY", "title": "Fjord Safari from Bergen", "shortDescription": "A 2-hour RIB ride into the Osterfjord.", "description": "Speed out of Bergen harbour in a rigid inflatable boat and explore narrow sounds, waterfalls and seal colonies.", "media": [ { "type": "image", "rel": "COVER", "src": "https://images.example.com/fjord-safari/main_1200.jpg" }, { "type": "image", "rel": "GALLERY", "src": "https://images.example.com/fjord-safari/2_1200.jpg" } ], "locations": [ { "location": { "latitude": 60.3971, "longitude": 5.3221, "address": { "city": "Bergen", "addressLine": "Zachariasbryggen, Bergen harbour" } } } ], "options": [], "duration": "2 hours", "whatIsIncluded": [ "Survival suit, gloves and goggles", "Guide" ], "whatIsNotIncluded": [ "Hotel pickup (available at extra cost)" ], "requirements": [ "Minimum height 130 cm" ], "attention": [ "Not suitable for pregnant travellers" ], "whatToBring": [ "Warm clothes" ], "directions": [], "guideLanguages": [ "English", "Norwegian" ], "ageLimit": "From 6 years", "phone": "+47 55 00 00 01", "countryName": "Norway", "region": "Vestland", "accessToLocation": null, "id": "4f6c2a1e-8b3d-4c7a-9e21-5a0d3f7b9c12" }
Each line is one bookable price at one start time. Group the lines the way you show them: by start time, then rate, then price group, then tier. Each line's availabilityId is valid for 30 minutes (utcCutoffAt) and is what POST /bookings takes. Lines are priced per priceUnit: a person, a group, or the whole booking.
| productId | string <uuid> The activity id. |
| localDateStart | string <date-time> First day, in the activity's local time (e.g. 2026-11-12). |
| localDateEnd | string or null <date-time> Last day; leave out for a single day. Not before localDateStart. |
{- "productId": "4f6c2a1e-8b3d-4c7a-9e21-5a0d3f7b9c12",
- "localDateStart": "2026-11-12T00:00:00",
- "localDateEnd": null
}[ { "id": "e1a7c3d9-5b2f-4e86-9c10-3f8a6d2b7e41", "localDateTimeStart": "2026-11-12T09:30:00", "localDateTimeEnd": "2026-11-12T11:30:00", "vacancies": 42, "gross": 1290, "net": 1032, "currency": "NOK", "unitPricing": [ { "unitId": "Adult", "gross": 1290, "net": 1032, "currency": "NOK", "priceVariant": null } ], "priceVariant": null, "pricingType": "PER_PERSON", "priceUnit": "PERSON", "rate": { "id": "381", "name": "Shared tour", "description": "Join a small group of up to 14." }, "priceGroup": { "id": "ADULT", "name": "Adult", "minAge": 16, "maxAge": null, "sortOrder": 0 }, "tier": null, "unitLimits": { "min": 1, "max": 14 }, "group": null, "perBookingCategories": null, "surcharges": null, "refundable": true, "localDateTimeFreeCancellationUntil": "2026-11-11T09:30:00", "utcCutoffAt": "2026-11-10T10:30:00Z", "questions": [ { "id": 41512, "label": "Dietary requirements", "help": null, "defaultValue": null, "required": false, "dataType": "SHORT_TEXT", "selectFromOptions": false, "selectMultiple": false, "personalData": false, "options": [], "attributeKeyId": null, "attributeKeyName": null, "pricingType": null } ] }, { "id": "f2b8d4e0-6c3a-4f97-8d21-4a9b7e3c8f52", "localDateTimeStart": "2026-11-12T09:30:00", "localDateTimeEnd": "2026-11-12T11:30:00", "vacancies": 42, "gross": 790, "net": 632, "currency": "NOK", "unitPricing": [ { "unitId": "Child", "gross": 790, "net": 632, "currency": "NOK", "priceVariant": null } ], "priceVariant": null, "pricingType": "PER_PERSON", "priceUnit": "PERSON", "rate": { "id": "381", "name": "Shared tour", "description": "Join a small group of up to 14." }, "priceGroup": { "id": "CHILD", "name": "Child", "minAge": 6, "maxAge": 15, "sortOrder": 1 }, "tier": null, "unitLimits": { "min": 1, "max": 14 }, "group": null, "perBookingCategories": null, "surcharges": null, "refundable": true, "localDateTimeFreeCancellationUntil": "2026-11-11T09:30:00", "utcCutoffAt": "2026-11-10T10:30:00Z", "questions": [ { "id": 41512, "label": "Dietary requirements", "help": null, "defaultValue": null, "required": false, "dataType": "SHORT_TEXT", "selectFromOptions": false, "selectMultiple": false, "personalData": false, "options": [], "attributeKeyId": null, "attributeKeyName": null, "pricingType": null } ] } ]
For browsing only: a day carries whether it can be booked, the seats left and an indicative fromPrice. To book, check availability for the day with POST /activities/availability and use one of its availabilityIds. An activity that can't be read reports an error on its own entry; the others still return.
| productIds | Array of strings or null <uuid> [ items <uuid > ] 1 to 10 activity ids. Duplicates are ignored. |
| localDateStart | string <date-time> First day, in local time. |
| localDateEnd | string <date-time> Last day (inclusive). The range is at most 366 days. |
{- "productIds": [
- "4f6c2a1e-8b3d-4c7a-9e21-5a0d3f7b9c12",
- "9a1d7e30-2c4b-4f68-b5e9-0d3c6a8f1b24"
], - "localDateStart": "2026-11-12T00:00:00",
- "localDateEnd": "2026-11-13T00:00:00"
}{ "products": [ { "productId": "4f6c2a1e-8b3d-4c7a-9e21-5a0d3f7b9c12", "days": [ { "localDate": "2026-11-12T00:00:00", "available": true, "vacancies": 42, "fromPrice": { "gross": 790, "net": 632, "currency": "NOK", "priceUnit": "PERSON" } }, { "localDate": "2026-11-13T00:00:00", "available": false, "vacancies": 0, "fromPrice": null } ] }, { "productId": "9a1d7e30-2c4b-4f68-b5e9-0d3c6a8f1b24", "days": [], "error": { "status": 404, "title": "Product not found." } } ] }
Ids that don't exist, aren't shared with you or are hidden come back in notFound. Duplicates are ignored.
| ids | Array of strings or null <uuid> [ items <uuid > ] 1 to 100 activity ids. Duplicates are ignored. |
{- "ids": [
- "4f6c2a1e-8b3d-4c7a-9e21-5a0d3f7b9c12",
- "c3e8b5a2-6f1d-4b97-8a40-7e2d9c1f5b63"
]
}{ "items": [ { "internalName": "Fjord Safari Bergen", "reference": "BK-48213", "type": "ACTIVITY", "title": "Fjord Safari from Bergen", "shortDescription": "A 2-hour RIB ride into the Osterfjord.", "description": "Speed out of Bergen harbour in a rigid inflatable boat and explore narrow sounds, waterfalls and seal colonies.", "media": [ { "type": "image", "rel": "COVER", "src": "https://images.example.com/fjord-safari/main_1200.jpg" }, { "type": "image", "rel": "GALLERY", "src": "https://images.example.com/fjord-safari/2_1200.jpg" } ], "locations": [ { "location": { "latitude": 60.3971, "longitude": 5.3221, "address": { "city": "Bergen", "addressLine": "Zachariasbryggen, Bergen harbour" } } } ], "options": [], "duration": "2 hours", "whatIsIncluded": [ "Survival suit, gloves and goggles", "Guide" ], "whatIsNotIncluded": [ "Hotel pickup (available at extra cost)" ], "requirements": [ "Minimum height 130 cm" ], "attention": [ "Not suitable for pregnant travellers" ], "whatToBring": [ "Warm clothes" ], "directions": [], "guideLanguages": [ "English", "Norwegian" ], "ageLimit": "From 6 years", "phone": "+47 55 00 00 01", "countryName": "Norway", "region": "Vestland", "accessToLocation": null, "id": "4f6c2a1e-8b3d-4c7a-9e21-5a0d3f7b9c12" } ], "notFound": [ "c3e8b5a2-6f1d-4b97-8a40-7e2d9c1f5b63" ] }
Sync the hotels you can sell, with their rooms, and check live room rates for a stay and party. A rate's availabilityId is booked under rooms[] on POST /bookings. refundable and utcFreeCancellationUntil say whether, and until when, a rate can be cancelled free of charge.
A hotel is listed when at least one of its rooms is entitled, enabled and visible. In a delta, a hotel counts as modified when its own content or any of its rooms changed, and is listed with state "removed" once no room is left; re-fetch it with its rooms to see what changed.
| country | string Country name, as in the hotel's address.countryName (e.g. "Norway", not "NO"). Case-insensitive. Send it again with every page. |
| city | string City, as in the hotel's address.city. Case-insensitive, exact match. Send it again with every page. |
| modifiedSince | string <date-time> Return only hotels that changed at or after this time (UTC), with each hotel to remove as a state "removed" entry, paged with the rest. With country or city, a hotel removed by an unshare or exclusion is reported whatever its location. |
| page | string Opaque token: omit for the first page, then pass back nextPage. |
| pageSize | integer <int32> 1-100 hotels, default 20. |
{ "hotels": [ { "state": "active", "reference": "6678", "name": "Hotel Bergen Sentrum", "shortDescription": "Central hotel next to the fish market.", "description": "A short walk from Bryggen, with a rooftop terrace overlooking the harbour.", "accommodationType": "Hotel", "starRating": 4, "address": { "addressLine": "Torgallmenningen 2", "city": "Bergen", "countryName": "Norway" }, "location": { "latitude": 60.3929, "longitude": 5.3241 }, "phone": "+47 55 00 00 00", "media": [ { "type": "image", "rel": "COVER", "src": "https://images.example.com/hotels/6678_main.jpg" }, { "type": "image", "rel": "GALLERY", "src": "https://images.example.com/hotels/6678_2.jpg" } ], "facilities": [ { "name": "Free WiFi" }, { "name": "Fitness centre" } ], "id": "7c1e2a90-0001-4b6a-9f00-000000000000" }, { "state": "removed", "reason": "unassigned", "id": "7c1e2a90-0001-4b6a-9f00-0000000000ab" } ], "nextPage": "eyJ0b2tlbiI6IjY2NzgifQ" }
| hotelId required | string <uuid> The hotel's id, as listed. |
{ "rooms": [ { "id": "3f0b5d1e-8a2c-4e57-b1a4-2f9d6c0e7a11", "reference": "6678_DBT.SU", "name": "Double Superior", "description": "Superior double room with city view.", "occupancyText": "Min pax:1, Max pax:3, Min adults:1, Max adults:2, Max children:1", "media": [], "facilities": [ { "name": "Air conditioning" } ] }, { "id": "4a1c6e2f-9b3d-4f68-c2b5-3a0e7d1f8b22", "reference": "6678_FAM.ST", "name": "Family Room", "description": null, "occupancyText": "Min pax:2, Max pax:4, Min adults:1, Max adults:2, Max children:2", "media": [], "facilities": [] } ], "reference": "6678", "name": "Hotel Bergen Sentrum", "shortDescription": "Central hotel next to the fish market.", "description": "A short walk from Bryggen, with a rooftop terrace overlooking the harbour.", "accommodationType": "Hotel", "starRating": 4, "address": { "addressLine": "Torgallmenningen 2", "city": "Bergen", "countryName": "Norway" }, "location": { "latitude": 60.3929, "longitude": 5.3241 }, "phone": "+47 55 00 00 00", "media": [ { "type": "image", "rel": "COVER", "src": "https://images.example.com/hotels/6678_main.jpg" }, { "type": "image", "rel": "GALLERY", "src": "https://images.example.com/hotels/6678_2.jpg" } ], "facilities": [ { "name": "Free WiFi" }, { "name": "Fitness centre" } ], "id": "7c1e2a90-0001-4b6a-9f00-000000000000" }
Each rate's gross and net are the room's total for the whole stay, for that room's party. Each rate has its own availabilityId, valid for 30 minutes. A room with no matching offer has no rates. refundable says whether a rate can be cancelled free of charge, and utcFreeCancellationUntil until when.
| hotelId | string <uuid> The hotel to price. |
| checkIn | string <date> Arrival date, in the hotel's local time. Today or later. |
| checkOut | string <date> After checkIn; the stay is at most 30 nights. |
Array of objects or null (HotelRoomOccupancy) 1-5 rooms. |
{- "hotelId": "7c1e2a90-0001-4b6a-9f00-000000000000",
- "checkIn": "2026-12-18",
- "checkOut": "2026-12-21",
- "rooms": [
- {
- "adults": 2,
- "childrenAges": null
}, - {
- "adults": 2,
- "childrenAges": [
- 7,
- 4
]
}
]
}{ "hotelId": "7c1e2a90-0001-4b6a-9f00-000000000000", "checkIn": "2026-12-18", "checkOut": "2026-12-21", "nights": 3, "rooms": [ { "roomIndex": 0, "adults": 2, "childrenAges": [], "rates": [ { "availabilityId": "a3c5e9d0-6c1b-4f7e-9a0d-1b2c3d4e5f60", "roomId": "3f0b5d1e-8a2c-4e57-b1a4-2f9d6c0e7a11", "roomName": "Double Superior", "board": { "code": "BB", "name": "BED AND BREAKFAST" }, "gross": 489, "net": 449.88, "currency": "EUR", "refundable": true, "utcFreeCancellationUntil": "2026-12-14T23:00:00Z", "vacancies": 4, "utcCutoffAt": "2026-11-10T10:30:00Z" } ] }, { "roomIndex": 1, "adults": 2, "childrenAges": [ 7, 4 ], "rates": [ { "availabilityId": "b4d6f0e1-7d2c-4a8f-8b1e-2c3d4e5f6a71", "roomId": "4a1c6e2f-9b3d-4f68-c2b5-3a0e7d1f8b22", "roomName": "Family Room", "board": { "code": "BB", "name": "BED AND BREAKFAST" }, "gross": 523, "net": 481.16, "currency": "EUR", "refundable": false, "utcFreeCancellationUntil": null, "vacancies": 1, "utcCutoffAt": "2026-11-10T10:30:00Z" } ] } ] }
A hotel that isn't found or can't be searched gets an error on its own entry; the others still return.
| hotelIds | Array of strings or null <uuid> [ items <uuid > ] 1-10 ids. Duplicates are ignored. |
| localDateStart | string <date> The first check-in date to summarise. |
| localDateEnd | string <date> Inclusive. |
| adults | integer or null <int32> 1-8, default 2. |
| childrenAges | Array of integers or null <int32> [ items <int32 > ] Default none; same rules as for availability. |
| nights | integer or null <int32> 1-30, default 1. |
{- "hotelIds": [
- "7c1e2a90-0001-4b6a-9f00-000000000000",
- "7c1e2a90-0001-4b6a-9f00-0000000000cd"
], - "localDateStart": "2026-12-01",
- "localDateEnd": "2026-12-31",
- "adults": 2,
- "childrenAges": [ ],
- "nights": 1
}{ "hotels": [ { "hotelId": "7c1e2a90-0001-4b6a-9f00-000000000000", "days": [ { "localDate": "2026-12-01", "available": true, "fromPrice": { "gross": 159, "net": 146.28, "currency": "EUR", "priceUnit": null } }, { "localDate": "2026-12-02", "available": false, "fromPrice": null } ] }, { "hotelId": "7c1e2a90-0001-4b6a-9f00-0000000000cd", "days": [], "error": { "status": 404, "title": "Product not found." } } ] }
| ids | Array of strings or null <uuid> [ items <uuid > ] The hotel ids: 1 to 100, or 1 to 10 with rooms. Duplicates are ignored. |
{- "ids": [
- "7c1e2a90-0001-4b6a-9f00-000000000000",
- "7c1e2a90-0001-4b6a-9f00-0000000000cd"
]
}{ "items": [ { "reference": "6678", "name": "Hotel Bergen Sentrum", "shortDescription": "Central hotel next to the fish market.", "description": "A short walk from Bryggen, with a rooftop terrace overlooking the harbour.", "accommodationType": "Hotel", "starRating": 4, "address": { "addressLine": "Torgallmenningen 2", "city": "Bergen", "countryName": "Norway" }, "location": { "latitude": 60.3929, "longitude": 5.3241 }, "phone": "+47 55 00 00 00", "media": [ { "type": "image", "rel": "COVER", "src": "https://images.example.com/hotels/6678_main.jpg" }, { "type": "image", "rel": "GALLERY", "src": "https://images.example.com/hotels/6678_2.jpg" } ], "facilities": [ { "name": "Free WiFi" }, { "name": "Fitness centre" } ], "id": "7c1e2a90-0001-4b6a-9f00-000000000000" } ], "notFound": [ "7c1e2a90-0001-4b6a-9f00-0000000000cd" ] }
| ids | Array of strings or null <uuid> [ items <uuid > ] The hotel ids: 1 to 100, or 1 to 10 with rooms. Duplicates are ignored. |
{- "ids": [
- "7c1e2a90-0001-4b6a-9f00-000000000000",
- "7c1e2a90-0001-4b6a-9f00-0000000000cd"
]
}{ "items": [ { "rooms": [ { "id": "3f0b5d1e-8a2c-4e57-b1a4-2f9d6c0e7a11", "reference": "6678_DBT.SU", "name": "Double Superior", "description": "Superior double room with city view.", "occupancyText": "Min pax:1, Max pax:3, Min adults:1, Max adults:2, Max children:1", "media": [], "facilities": [ { "name": "Air conditioning" } ] }, { "id": "4a1c6e2f-9b3d-4f68-c2b5-3a0e7d1f8b22", "reference": "6678_FAM.ST", "name": "Family Room", "description": null, "occupancyText": "Min pax:2, Max pax:4, Min adults:1, Max adults:2, Max children:2", "media": [], "facilities": [] } ], "reference": "6678", "name": "Hotel Bergen Sentrum", "shortDescription": "Central hotel next to the fish market.", "description": "A short walk from Bryggen, with a rooftop terrace overlooking the harbour.", "accommodationType": "Hotel", "starRating": 4, "address": { "addressLine": "Torgallmenningen 2", "city": "Bergen", "countryName": "Norway" }, "location": { "latitude": 60.3929, "longitude": 5.3241 }, "phone": "+47 55 00 00 00", "media": [ { "type": "image", "rel": "COVER", "src": "https://images.example.com/hotels/6678_main.jpg" }, { "type": "image", "rel": "GALLERY", "src": "https://images.example.com/hotels/6678_2.jpg" } ], "facilities": [ { "name": "Free WiFi" }, { "name": "Fitness centre" } ], "id": "7c1e2a90-0001-4b6a-9f00-000000000000" } ], "notFound": [ "7c1e2a90-0001-4b6a-9f00-0000000000cd" ] }
Book in two steps: POST /bookings places a hold (ON_HOLD, no supplier call yet) and POST /bookings/{uuid}/confirm confirms it with the supplier and records your payment declaration. A hold that isn't confirmed by utcExpiresAt expires. Bookings are shared by activities and hotels.
| status | string Only bookings in this status: ON_HOLD, CONFIRMED, EXPIRED or CANCELLED. |
| page | string Opaque token: omit for the first page, then pass back nextPage. |
| pageSize | integer <int32> 1-100, default 20. |
{ "bookings": [ { "uuid": "6e0b4d2a-8f3c-4b79-9d1e-0f2a3b4c5d6e", "status": "CONFIRMED", "productId": "7c1e2a90-0001-4b6a-9f00-000000000000", "productType": "ACCOMMODATION", "availabilityId": null, "stay": { "checkIn": "2026-12-18", "checkOut": "2026-12-21", "nights": 3 }, "rooms": [ { "availabilityId": "a3c5e9d0-6c1b-4f7e-9a0d-1b2c3d4e5f60", "roomId": "3f0b5d1e-8a2c-4e57-b1a4-2f9d6c0e7a11", "roomName": "Double Superior", "adults": 2, "childrenAges": [], "board": { "code": "BB", "name": "BED AND BREAKFAST" }, "gross": 489, "net": 449.88, "currency": "EUR", "refundable": true, "utcFreeCancellationUntil": "2026-12-14T23:00:00Z", "guests": [ { "fullName": "Kari Nordmann", "email": null, "phone": null, "countryCode": null, "countryName": null }, { "fullName": "Ola Nordmann", "email": null, "phone": null, "countryCode": null, "countryName": null } ], "specialRequest": "Late arrival, around 23:00", "supplierBookingReference": "102-1234567" }, { "availabilityId": "b4d6f0e1-7d2c-4a8f-8b1e-2c3d4e5f6a71", "roomId": "4a1c6e2f-9b3d-4f68-c2b5-3a0e7d1f8b22", "roomName": "Family Room", "adults": 2, "childrenAges": [ 7, 4 ], "board": { "code": "BB", "name": "BED AND BREAKFAST" }, "gross": 523, "net": 481.16, "currency": "EUR", "refundable": false, "utcFreeCancellationUntil": null, "guests": [ { "fullName": "Per Hansen", "email": null, "phone": null, "countryCode": null, "countryName": null } ], "specialRequest": null, "supplierBookingReference": "102-1234568" } ], "unitItems": [], "pricingType": null, "priceUnit": null, "rateId": null, "groupSize": null, "priceCategories": null, "refundable": null, "localDateTimeFreeCancellationUntil": null, "contact": { "fullName": "Kari Nordmann", "email": "kari@example.com", "phone": "+4790000000", "countryCode": "NO", "countryName": "Norway" }, "pickup": null, "dropOff": null, "supplierBookingReference": "102-1234567", "adventureHubReference": "ORD-2026-118851", "gross": 1012, "net": 931.04, "currency": "EUR", "utcExpiresAt": null, "utcConfirmedAt": "2026-11-10T10:11:00Z", "utcCancelledAt": null, "cancellable": true, "cancellation": null }, { "uuid": "5d9a3c1f-7e2b-4a68-8c0d-9e1f2a3b4c5d", "status": "CONFIRMED", "productId": "4f6c2a1e-8b3d-4c7a-9e21-5a0d3f7b9c12", "productType": "ACTIVITY", "availabilityId": "e1a7c3d9-5b2f-4e86-9c10-3f8a6d2b7e41", "stay": null, "rooms": null, "unitItems": [ { "unitId": "Adult", "contact": { "fullName": "Kari Nordmann", "email": null, "phone": null, "countryCode": null, "countryName": null }, "answers": [ { "questionId": 41512, "answer": "Vegetarian", "answerLabel": null } ] }, { "unitId": "Adult", "contact": { "fullName": "Ola Nordmann", "email": null, "phone": null, "countryCode": null, "countryName": null }, "answers": [ { "questionId": 41512, "answer": "None", "answerLabel": null } ] } ], "pricingType": "PER_PERSON", "priceUnit": "PERSON", "rateId": "381", "groupSize": null, "priceCategories": null, "refundable": true, "localDateTimeFreeCancellationUntil": "2026-11-11T09:30:00", "contact": { "fullName": "Kari Nordmann", "email": "kari@example.com", "phone": "+4790000000", "countryCode": "NO", "countryName": "Norway" }, "pickup": null, "dropOff": null, "supplierBookingReference": "BKN-T48213-7731", "adventureHubReference": "ORD-2026-118842", "gross": 2580, "net": 2064, "currency": "NOK", "utcExpiresAt": null, "utcConfirmedAt": "2026-11-10T10:09:00Z", "utcCancelledAt": null, "cancellable": true, "cancellation": null } ], "nextPage": "eyJza2lwIjoyMH0" }
An activity takes one availabilityId and one unitItem per priceUnit of its line (a person, a group, or exactly one for a per-booking price, with the people in groupSize). A hotel takes rooms[], one availabilityId per room. The booking comes back ON_HOLD with utcExpiresAt; confirm it before then. Send your own uuid to make retries safe: the same uuid returns the same booking.
| productId | string <uuid> The activity id, or for a hotel the hotel id. |
| availabilityId | string or null <uuid> Activity only (required): the availability line to book. Leave out for a hotel. |
Array of objects or null (BookingReserveUnitItem) Activity only: one entry per unit of the line's priceUnit. A traveller on a PERSON line, a group on a GROUP line, and exactly one for a PER_BOOKING line. Must be within the line's unitLimits (and its tier, if TIERED). | |
| groupSize | integer or null <int32> Activity only: the people a GROUP or BOOKING unit covers, within the line's group.minSize to group.maxSize. Required for a PER_BOOKING line, optional for a GROUP line, refused otherwise. |
Array of objects or null (BookingPriceCategory) Activity, PER_BOOKING lines only, optional: how groupSize splits across the line's perBookingCategories. Each id once, quantities of at least 1, adding up to groupSize. | |
Array of objects or null (BookingReserveRoom) Hotel only (required): 1 to 5 rooms, each a rate for this hotel and the same stay. | |
| uuid | string or null <uuid> Your id for this booking, which makes retries safe: reserving again with the same uuid returns the same booking. Generated for you when left out. |
{- "productId": "4f6c2a1e-8b3d-4c7a-9e21-5a0d3f7b9c12",
- "availabilityId": "e1a7c3d9-5b2f-4e86-9c10-3f8a6d2b7e41",
- "unitItems": [
- {
- "unitId": "Adult"
}, - {
- "unitId": "Adult"
}
], - "groupSize": null,
- "priceCategories": null,
- "rooms": null,
- "uuid": "5d9a3c1f-7e2b-4a68-8c0d-9e1f2a3b4c5d"
}{ "uuid": "5d9a3c1f-7e2b-4a68-8c0d-9e1f2a3b4c5d", "status": "ON_HOLD", "productId": "4f6c2a1e-8b3d-4c7a-9e21-5a0d3f7b9c12", "productType": "ACTIVITY", "availabilityId": "e1a7c3d9-5b2f-4e86-9c10-3f8a6d2b7e41", "stay": null, "rooms": null, "unitItems": [ { "unitId": "Adult", "contact": null, "answers": [] }, { "unitId": "Adult", "contact": null, "answers": [] } ], "pricingType": "PER_PERSON", "priceUnit": "PERSON", "rateId": "381", "groupSize": null, "priceCategories": null, "refundable": true, "localDateTimeFreeCancellationUntil": "2026-11-11T09:30:00", "contact": null, "pickup": null, "dropOff": null, "supplierBookingReference": null, "adventureHubReference": null, "gross": 2580, "net": 2064, "currency": "NOK", "utcExpiresAt": "2026-11-10T10:35:00Z", "utcConfirmedAt": null, "utcCancelledAt": null, "cancellable": true, "cancellation": null }
| uuid required | string <uuid> The booking's uuid. |
{ "uuid": "5d9a3c1f-7e2b-4a68-8c0d-9e1f2a3b4c5d", "status": "ON_HOLD", "productId": "4f6c2a1e-8b3d-4c7a-9e21-5a0d3f7b9c12", "productType": "ACTIVITY", "availabilityId": "e1a7c3d9-5b2f-4e86-9c10-3f8a6d2b7e41", "stay": null, "rooms": null, "unitItems": [ { "unitId": "Adult", "contact": null, "answers": [] }, { "unitId": "Adult", "contact": null, "answers": [] } ], "pricingType": "PER_PERSON", "priceUnit": "PERSON", "rateId": "381", "groupSize": null, "priceCategories": null, "refundable": true, "localDateTimeFreeCancellationUntil": "2026-11-11T09:30:00", "contact": null, "pickup": null, "dropOff": null, "supplierBookingReference": null, "adventureHubReference": null, "gross": 2580, "net": 2064, "currency": "NOK", "utcExpiresAt": "2026-11-10T10:35:00Z", "utcConfirmedAt": null, "utcCancelledAt": null, "cancellable": true, "cancellation": null }
A held booking is released with no supplier call. A confirmed one is cancelled with the supplier, which may refuse it; then the booking stays as it was and the call answers 503. Cancelling twice returns the cancelled booking again. Cancellation fees and refunds are settled outside the API.
| uuid required | string <uuid> The booking's uuid. |
An optional reason.
| reason | string or null [ 0 .. 1000 ] characters Why, optional; up to 1000 characters. |
{- "reason": "Customer changed plans"
}{ "uuid": "5d9a3c1f-7e2b-4a68-8c0d-9e1f2a3b4c5d", "status": "ON_HOLD", "productId": "4f6c2a1e-8b3d-4c7a-9e21-5a0d3f7b9c12", "productType": "ACTIVITY", "availabilityId": "e1a7c3d9-5b2f-4e86-9c10-3f8a6d2b7e41", "stay": null, "rooms": null, "unitItems": [ { "unitId": "Adult", "contact": null, "answers": [] }, { "unitId": "Adult", "contact": null, "answers": [] } ], "pricingType": "PER_PERSON", "priceUnit": "PERSON", "rateId": "381", "groupSize": null, "priceCategories": null, "refundable": true, "localDateTimeFreeCancellationUntil": "2026-11-11T09:30:00", "contact": null, "pickup": null, "dropOff": null, "supplierBookingReference": null, "adventureHubReference": null, "gross": 2580, "net": 2064, "currency": "NOK", "utcExpiresAt": "2026-11-10T10:35:00Z", "utcConfirmedAt": null, "utcCancelledAt": null, "cancellable": true, "cancellation": null }
paymentAmount must equal the booking's gross. finalSellingPrice is what you charged the customer; a value below gross is accepted and flagged for review. The lead contact is required (a hotel also needs contact.countryCode). Activities take one unitItem per reserved traveller, in reservation order, with their answers and optional contact; hotels take rooms[] with guests instead.
| uuid required | string <uuid> The booking's uuid. |
Contact, travellers or rooms, and the payment declaration.
required | object The lead contact. fullName and email are required; a hotel booking also needs countryCode. |
Array of objects or null (BookingUnitItem) Activity only: one entry per reserved unit, in reservation order (the count must match), with that traveller's answers and optional contact. | |
object or null Activity only: the pickup chosen from the line's pickup question. | |
object or null Activity only: the drop-off chosen from the line's drop-off question. | |
Array of objects or null (BookingConfirmRoom) Hotel only (required): one entry per reserved room, in reservation order. | |
| paymentAmount | number <double> >= 0 The amount you pay for the booking. Must equal the booking's gross. |
| cardType | string or null The card type you paid with, for the record. |
| paymentReference | string or null Your payment reference, for the record. |
| finalSellingPrice | number <double> >= 0.01 What you charged the customer, in the booking's currency. Required. A value below the booking's gross is accepted and flagged for review. |
{- "contact": {
- "fullName": "Kari Nordmann",
- "email": "kari@example.com",
- "phone": "+4790000000",
- "countryCode": "NO",
- "countryName": "Norway"
}, - "unitItems": [
- {
- "unitId": "Adult",
- "contact": {
- "fullName": "Kari Nordmann",
- "email": null,
- "phone": null,
- "countryCode": null,
- "countryName": null
}, - "answers": [
- {
- "questionId": 41512,
- "answer": "Vegetarian",
- "answerLabel": null
}
]
}, - {
- "unitId": "Adult",
- "contact": {
- "fullName": "Ola Nordmann",
- "email": null,
- "phone": null,
- "countryCode": null,
- "countryName": null
}, - "answers": [
- {
- "questionId": 41512,
- "answer": "None",
- "answerLabel": null
}
]
}
], - "pickup": {
- "locationId": "52011",
- "locationName": "Hotel Norge by Scandic"
}, - "dropOff": null,
- "rooms": null,
- "paymentAmount": 2580,
- "cardType": "VISA",
- "paymentReference": "PAY-88230",
- "finalSellingPrice": 2900
}{ "uuid": "5d9a3c1f-7e2b-4a68-8c0d-9e1f2a3b4c5d", "status": "ON_HOLD", "productId": "4f6c2a1e-8b3d-4c7a-9e21-5a0d3f7b9c12", "productType": "ACTIVITY", "availabilityId": "e1a7c3d9-5b2f-4e86-9c10-3f8a6d2b7e41", "stay": null, "rooms": null, "unitItems": [ { "unitId": "Adult", "contact": null, "answers": [] }, { "unitId": "Adult", "contact": null, "answers": [] } ], "pricingType": "PER_PERSON", "priceUnit": "PERSON", "rateId": "381", "groupSize": null, "priceCategories": null, "refundable": true, "localDateTimeFreeCancellationUntil": "2026-11-11T09:30:00", "contact": null, "pickup": null, "dropOff": null, "supplierBookingReference": null, "adventureHubReference": null, "gross": 2580, "net": 2064, "currency": "NOK", "utcExpiresAt": "2026-11-10T10:35:00Z", "utcConfirmedAt": null, "utcCancelledAt": null, "cancellable": true, "cancellation": null }
Register one HTTPS endpoint to receive booking events: booking.confirmed, booking.cancelled, booking.failed and hold.expired. Each event is a JSON envelope { eventId, eventType, occurredAt, resellerId, bookingId, data }. data is the booking for booking.confirmed and booking.cancelled, { booking, failedAt, reason } for booking.failed, and { uuid, resellerReference, status, availabilityId, utcExpiresAt } for hold.expired. The X-AdventureHub-Signature header carries the lowercase hex HMAC-SHA256 of the raw request body, keyed with your webhook secret: compute it over the exact bytes received and compare. A failed delivery is retried 1, 5 and 30 minutes after the previous attempt, with the same eventId, so use eventId to ignore duplicates. Events can arrive out of order.
The secret itself is never shown here; it is disclosed once, when it is generated.
{ "webhookEndpoint": "https://partner.example.com/hooks/adventurehub", "hasSecret": true, "signatureHeader": "X-AdventureHub-Signature", "updatedAt": "2026-11-10T10:05:00Z" }
A signing secret is generated the first time, or when rotateSecret is true, and returned once in webhookSecret. Otherwise the existing secret is kept and webhookSecret is null, so correcting the URL never invalidates the secret you verify with.
| webhookEndpoint required | string <uri> [ 1 .. 2000 ] characters An HTTPS URL, up to 2000 characters. |
| rotateSecret | boolean Issues a new signing secret. Off by default so changing the endpoint doesn't invalidate the secret the reseller is already verifying with, retries included. |
{- "rotateSecret": false
}{ "webhookEndpoint": "https://partner.example.com/hooks/adventurehub", "webhookSecret": "whsec_3f9a7c1e5b2d8f4a6c0e9b1d7a3f5c8e", "signatureHeader": "X-AdventureHub-Signature", "updatedAt": "2026-11-10T10:05:00Z" }