cURL
curl --request GET \ --url https://api.pricenow.dev/api/booking/products/{productId}/journey/validities \ --header 'accept-language: <accept-language>' \ --header 'pratiq-channel-uuid: <pratiq-channel-uuid>'
{ "data": { "options": [ { "value": { "from": "<string>", "to": "<string>" }, "availableCapacity": { "kind": "range", "min": 123, "max": 123 }, "label": "<string>", "isAvailable": true, "price": { "minPrice": 123, "maxPrice": 123 } } ], "hasCapacities": true, "availableDurations": [ { "value": "<string>", "label": "<string>" } ], "selectionMode": "range" } }
Paginated endpoint returning available validity dates incl their respective available capacity and expected price range.
Language of the response
en
de
fr
it
UUID of the sales channel
Show child attributes
Successful response