Block Dates

Block specific dates to prevent bookings — maintenance, owner stays, or manual holds.

Update availability — set prices, block/unblock dates

PUT/v1/availability

Request

curl -X PUT https://api.repull.dev/v1/availability \
  -H "Authorization: Bearer sk_test_YOUR_KEY" \
  -H "X-Workspace-Id: YOUR_WORKSPACE_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "propertyId": "123",
  "updates": [
    "item1"
  ]
}'

Response

{ "data": { "updated": 5, "propertyId": "123" } }

Body Parameters

propertyIdstringRequired

Property ID

updatesarrayRequired

Array of { date, available, price?, minNights? }

AI