Get product opening times

Returns the opening times of a product if opening times are defined.

Please be aware that opening times and availability are defined independently of each other. A product without opening times can be available to book; a product with defined opening times might be unavailable.

The presence of opening times typically depends on the type of product offered:

  • Venue: The product is an entry ticket for a physical venue like a museum. There are typically opening times defined as the guest can walk in and out during the opening hours at the booked visit date, respecting the terms and conditions such as the booked timeslot if applicable.

  • Activity or service: The product is a ticket for an activity like a walking tour or a service like a ticket for public transport. There is a starting point such as a bus stop or a certain meeting point and a timeslot as a start time. As there is no physical venue to visit and the guest needs to be there at the defined starting time, there are are typically no opening times defined.

Opening times are returned per entity. Most products have one entity, however products can have more than one entity. E.g. if a ticket allows entry to different buildings/exhibitions with each independent opening times. A time range of up to 90 days can be requested with one API request. Please send several requests in case you want to get the opening times for a longer time range.

Product opening times

get
/products/{productId}/opening_times
Path parameters
productIdintegerRequired

ID of the product to return.

Example: 974092
Query parameters
langstringOptional

Language of the content to retrieve (ISO 639-1). Defaults to English if undefined.

Default: enExample: en
start_datestring · dateOptional

First day for which to return opening times.

Example: 2020-03-21
end_datestring · dateOptional

Last day for which to return opening times. The maximum time range is 90 days; retrieving opening times for more than 90 days in one API request results in an error.

Example: 2020-03-25
Header parameters
AuthorizationstringRequired

Token <Your_API_Key>.

Default: Token <Partner_API_key>.
Responses
200

Successful operation.

application/json
get
/products/{productId}/opening_times

Last updated

Was this helpful?