Cancel a reservation

Cancels the reservation and releases its soft hold on the stall. Safe to retry: cancelling an already canceled reservation returns 200 with the same reservation. A completed reservation cannot be canceled. The reservation.status_changed webhook fires on the transition, not on every 200, so a retry that finds the reservation already canceled returns the reservation and emits nothing. Treat the 200 as your confirmation and never wait on the webhook. A cancel through this endpoint records canceled_by partner.

Authentication

AuthorizationBearer

API key generated in the Autolane Portal. Keys are organization-scoped, carry granular permissions, and are environment-specific: a sandbox key only works against the sandbox host, and a production key only against the production host.

Path parameters

idstringRequiredformat: "uuid"
Reservation id

Query parameters

reasonstringOptional<=500 characters

Free-text cancellation reason, stored on the reservation and echoed back

Response

The canceled reservation
successboolean
dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error