Create availability batch
documentedCreate/modify availability in batch for multiple products.
POST /v1/availability/batchAvailabilityno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.rezdy.com/v1/availability/batch" \
-X POST \
-H "Content-Type: application/json; charset=UTF-8" \
-H "Accept: application/json" \
-H "apiKey: {{REZDY_API_KEY}}" \
-d '{"seats": {{$seats}}, "priceOptions": [ {"price": {{$price}}, "label": "{{$priceLabel}}", "id": {{$priceId}}, "seatsUsed": {{$seatsUsed}}, "minQuantity": {{$minQuantity}}, "maxQuantity": {{$maxQuantity}}, "priceGroupType": "EACH", "productCode": "{{$productCode}}" } ], "seatsAvailable": {{$seatsAvailable}}, "allDay": {{$allDay}}, "productCode": "{{$productCode}}", "startTime": "{{$startTime}}", "endTime": "{{$endTime}}", "startTimeLocal": "{{$startTimeLocal}}", "endTimeLocal": "{{$endTimeLocal}}" }'