Load availability information for a specific date range.
This will return a list of sessions, including their availability and pricing details.

Pricing in the session can be different than the pricing of the products, in a case when a supplier overrides a price for a specific session or a ticket type.

Since Rezdy introduced shared availability option for products, the product sessions can contain price overrides for all of the products, which share the sessions. Therefore it is necessary to filer only the price options matching the chosen product code on the client side, when processing /availability service responses.

Request

GET https://api.rezdy.com/v1/availability

Query parameters

Parameter name Value Description Additional
productCode array of string, multiple occurances

Product code in format P12345. You can request multiple products: "productCode=P11111&productCode=P22222&productCode=P33333", which belong to a single supplier.

Required
startTime string

Start time in ISO 8601 format, e.g. 2014-03-01T00:00:00Z

endTime string

End time in ISO 8601 format, e.g. 2014-03-01T00:00:00Z

startTimeLocal string

Start time in supplier's local timezone, format is yyyy-MM-dd HH:mm:ss, e.g. 2014-03-01 00:00:00. Local times are not supported when querying multiple products from different suppliers.

endTimeLocal string

End time in supplier's local timezone, format is yyyy-MM-dd HH:mm:ss, e.g. 2014-03-01 00:00:00. Local times are not supported when querying multiple products from different suppliers.

minAvailability int32

only load availability for that quantity

limit int32

limit How many results are returned per request. Maximum is 1000, and the default is 100 when not specified.

offset int32

offset Offset of the first result to return. Default to 0.

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

successful operation

ResponseSessionList

Explore this API

apiKey Enter your API Key to try this call
productCode

Product code in format P12345. You can request multiple products: "productCode=P11111&productCode=P22222&productCode=P33333", which belong to a single supplier.

startTime

Start time in ISO 8601 format, e.g. 2014-03-01T00:00:00Z

endTime

End time in ISO 8601 format, e.g. 2014-03-01T00:00:00Z

startTimeLocal

Start time in supplier's local timezone, format is yyyy-MM-dd HH:mm:ss, e.g. 2014-03-01 00:00:00. Local times are not supported when querying multiple products from different suppliers.

endTimeLocal

End time in supplier's local timezone, format is yyyy-MM-dd HH:mm:ss, e.g. 2014-03-01 00:00:00. Local times are not supported when querying multiple products from different suppliers.

minAvailability

only load availability for that quantity

limit

limit How many results are returned per request. Maximum is 1000, and the default is 100 when not specified.

offset

offset Offset of the first result to return. Default to 0.

Response Content-Type
Try it out!