v1
availability-restrictions
application/json
TypeScript Definitions
Use the request body type in TypeScript.
curl -X POST "https://example.com/v1/availability-restrictions" \ -H "Content-Type: application/json" \ -d '{ "propertyId": "prop-uuid", "type": "blackout", "startsAt": "2026-03-15T00:00:00Z", "endsAt": "2026-03-20T23:59:59Z" }'
Null = applies to all space categories
Required when type=rate_restriction
"blackout" | "rate_restriction"
Null = restricts both reservation types
"hourly" | "overnight"
true