/v1/booking-demands/{id}/cancelCancel an open demand raised in error (its instalments can be demanded again)
Access: Signed-in members only (web or Android session) — not for API keys. Permission receipts.demand.
Parameters
idpathrequired- Id
Opaque record id.
Request body
reasonrequired- string
Response · 200
datarequired- object
data.idrequired- Id
Opaque record id.
data.statusrequired- "cancelled"
metarequired- object
curl -X POST 'https://api.propzolo.com/v1/booking-demands/{id}/cancel' \
-H 'Authorization: Bearer pz_live_…' \
-H 'Content-Type: application/json' \
-d '{"reason":"string"}'{
"data": {
"id": "cmusrceel0000q7kaafxqi1om",
"status": "cancelled"
},
"meta": {}
}Errors
401No valid session or API key (missing, expired or revoked).403The caller lacks the permission, API-key scope or support grant this operation needs.404Not found — records of another company are reported the same way.409A unique value already exists, a concurrent change won, or the Idempotency-Key is still in use or was sent with a different request.422Invalid input; `error.fields` maps field paths to messages.429Too many requests; retry after the Retry-After header.500Unexpected error; quote `error.request_id` to support.

