Availability slots is the term for any type of slot used for a booking. This collection of endpoints will work for any type of slot
An availability slot cannot be deleted if it is part of a hold availability request.
Availability slots removed successfully from option
Error response
{- "code": "400",
- "id": "3ecae132-a32d-41f9-8f7d-586f34cc29ce",
- "message": "Check the request for errors."
}
The maximum number of items in the request body varies based on the type of availability slot:
capacity | integer <int32> The remaining number of seats for the slot. |
required | object (Daily slot) |
required | Array of objects (Holder categories) unique Holder categories for the slot. |
guide_languages | Array of strings (Languages) unique A list of languages which can be booked for the slot. The languages will appear for all available holder categories in the slot. This property must follow the ISO 639-1 standard. |
option_id required | string^(?!\-|\.|\_)[0-9a-z\-\.\_]{1,50}$ The ID of the option that the slot belongs to. |
slot_id required | string^(?!\-|\.|\_)[0-9a-z\-\.\_]{1,50}$ The availability slot ID, assigned by the supplier. The ID must be unique. The same ID cannot be re-used for different experiences. |
Availability slot
Error response
[- {
- "capacity": 0,
- "daily_slot": {
- "date": "2019-08-24"
}, - "available_holder_categories": [
- {
- "holder_category_id": "string",
- "max_quantity": 0,
- "min_quantity": 0,
- "price_in_cents": 0
}
], - "guide_languages": [
- "string"
], - "option_id": "string",
- "slot_id": "string"
}
]
{- "capacity": 0,
- "daily_slot": {
- "date": "2019-08-24"
}, - "available_holder_categories": [
- {
- "holder_category_id": "string",
- "max_quantity": 0,
- "min_quantity": 0,
- "price_in_cents": 0
}
], - "guide_languages": [
- "string"
], - "option_id": "string",
- "slot_id": "string"
}
An availability slot cannot be deleted if it is part of a hold availability request.
Availability slot removed successfully from option
Error response
{- "code": "400",
- "id": "3ecae132-a32d-41f9-8f7d-586f34cc29ce",
- "message": "Check the request for errors."
}
Availability slot
Error response
{- "capacity": 0,
- "daily_slot": {
- "date": "2019-08-24"
}, - "available_holder_categories": [
- {
- "holder_category_id": "string",
- "max_quantity": 0,
- "min_quantity": 0,
- "price_in_cents": 0
}
], - "guide_languages": [
- "string"
], - "option_id": "string",
- "slot_id": "string"
}
Availability slot
Error response
{- "capacity": 0
}
{- "capacity": 0,
- "daily_slot": {
- "date": "2019-08-24"
}, - "available_holder_categories": [
- {
- "holder_category_id": "string",
- "max_quantity": 0,
- "min_quantity": 0,
- "price_in_cents": 0
}
], - "guide_languages": [
- "string"
], - "option_id": "string",
- "slot_id": "string"
}
capacity | integer <int32> The remaining number of seats for the slot. |
required | object (Daily slot) |
required | Array of objects (Holder categories) unique Holder categories for the slot. |
guide_languages | Array of strings (Languages) unique A list of languages which can be booked for the slot. The languages will appear for all available holder categories in the slot. This property must follow the ISO 639-1 standard. |
option_id required | string^(?!\-|\.|\_)[0-9a-z\-\.\_]{1,50}$ The ID of the option that the slot belongs to. |
slot_id required | string^(?!\-|\.|\_)[0-9a-z\-\.\_]{1,50}$ The availability slot ID, assigned by the supplier. The ID must be unique. The same ID cannot be re-used for different experiences. |
Availability slot
Error response
{- "capacity": 0,
- "daily_slot": {
- "date": "2019-08-24"
}, - "available_holder_categories": [
- {
- "holder_category_id": "string",
- "max_quantity": 0,
- "min_quantity": 0,
- "price_in_cents": 0
}
], - "guide_languages": [
- "string"
], - "option_id": "string",
- "slot_id": "string"
}
{- "capacity": 0,
- "daily_slot": {
- "date": "2019-08-24"
}, - "available_holder_categories": [
- {
- "holder_category_id": "string",
- "max_quantity": 0,
- "min_quantity": 0,
- "price_in_cents": 0
}
], - "guide_languages": [
- "string"
], - "option_id": "string",
- "slot_id": "string"
}