Complete a booking
POST /v1/bookings/{id}/complete
Allowed from starts_at onwards; before that it is 422 complete_too_early.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Identifier of the booking.
Header Parameters
Section titled “Header Parameters ”The dated API version to speak. Defaults to 2026-09-01; an unsupported value is a 400.
Example
2026-09-01Which Bookrail tool the caller is, recorded as actor.via on every event the request writes. A closed list: an unknown value is a 400. Absent means the request declared no tool.
Retry-safety key, 1 to 255 characters. The same key within 24 hours replays the first response, errors included, and never produces a second effect.
Request Body required
Section titled “Request Body required ”object
Responses
Section titled “ Responses ”Success.
object
Identifier of a booking, prefixed with bk_.
Example
bk_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cIdentifier of a service, prefixed with svc_.
Example
svc_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cIdentifier of a customer, prefixed with cus_.
Example
cus_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cIdentifier of a hold, prefixed with hold_.
Example
hold_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cISO 8601 instant in UTC.
Example
2026-09-08T07:00:00ZISO 8601 instant in UTC.
Example
2026-09-08T07:00:00ZAmount in the minor unit of the currency (cents for EUR).
object
Which service.pricing_rules entry priced this booking, frozen at creation. null when the flat service price applied.
object
Position in service.pricing_rules.
The rule label, when it has one.
The policy frozen at creation, as stored. null when the service had none.
Identifier of a booking, prefixed with bk_.
Example
bk_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cIdentifier of a booking, prefixed with bk_.
Example
bk_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cISO 8601 instant in UTC.
Example
2026-09-08T07:00:00ZISO 8601 instant in UTC.
Example
2026-09-08T07:00:00ZISO 8601 instant in UTC.
Example
2026-09-08T07:00:00ZISO 8601 instant in UTC.
Example
2026-09-08T07:00:00ZISO 8601 instant in UTC.
Example
2026-09-08T07:00:00ZISO 8601 instant in UTC.
Example
2026-09-08T07:00:00ZISO 8601 instant in UTC.
Example
2026-09-08T07:00:00Zobject
Identifier of a resource, prefixed with res_.
Example
res_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cPresent on a booking allocation, absent on the allocations of a hold.
Example
ball_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cobject
Identifier of a resource, prefixed with res_.
Example
res_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cIdentifier of a location, prefixed with loc_.
Example
loc_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cIdentifier of a schedule, prefixed with sch_.
Example
sch_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cobject
Optional tenant this object belongs to, for multi-tenant customers.
Free-form key/value pairs stored with the object and returned untouched.
object
The environment of the API key that created the object.
ISO 8601 instant in UTC.
Example
2026-09-08T07:00:00ZISO 8601 instant in UTC.
Example
2026-09-08T07:00:00ZPresent only with expand[]=schedule. null when the resource has none.
object
Identifier of a schedule, prefixed with sch_.
Example
sch_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cobject
Identifier of a schedule_rule, prefixed with shr_.
Example
shr_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cIdentifier of a schedule, prefixed with sch_.
Example
sch_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cobject
Identifier of a schedule_exception, prefixed with she_.
Example
she_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cIdentifier of a schedule, prefixed with sch_.
Example
sch_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cFree-form key/value pairs stored with the object and returned untouched.
object
The environment of the API key that created the object.
ISO 8601 instant in UTC.
Example
2026-09-08T07:00:00ZISO 8601 instant in UTC.
Example
2026-09-08T07:00:00ZOptional tenant this object belongs to, for multi-tenant customers.
Free-form key/value pairs stored with the object and returned untouched.
object
The environment of the API key that created the object.
ISO 8601 instant in UTC.
Example
2026-09-08T07:00:00ZISO 8601 instant in UTC.
Example
2026-09-08T07:00:00Zobject
Identifier of a customer, prefixed with cus_.
Example
cus_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cOptional tenant this object belongs to, for multi-tenant customers.
Free-form key/value pairs stored with the object and returned untouched.
object
The environment of the API key that created the object.
ISO 8601 instant in UTC.
Example
2026-09-08T07:00:00ZISO 8601 instant in UTC.
Example
2026-09-08T07:00:00ZHeaders
Section titled “Headers ”Identifier of this request. Quote it to support.
The API version this response was produced with.
true when the body is the stored answer of an earlier request with the same Idempotency-Key.
Error codes: idempotency_key_reused, invalid_body, parameter_invalid, parameter_missing, unsupported_api_version.
object
object
Machine readable code. The set is per operation; each response below lists the ones it can produce.
The field or header the error is about, when there is one.
Headers
Section titled “Headers ”Identifier of this request. Quote it to support.
The API version this response was produced with.
Error codes: invalid_api_key, invalid_authorization_header, missing_api_key, revoked_api_key.
object
object
Machine readable code. The set is per operation; each response below lists the ones it can produce.
The field or header the error is about, when there is one.
Headers
Section titled “Headers ”Identifier of this request. Quote it to support.
The API version this response was produced with.
Error codes: resource_missing.
object
object
Machine readable code. The set is per operation; each response below lists the ones it can produce.
The field or header the error is about, when there is one.
Headers
Section titled “Headers ”Identifier of this request. Quote it to support.
The API version this response was produced with.
Error codes: idempotency_key_in_progress, invalid_transition, serialization_failure.
object
object
Machine readable code. The set is per operation; each response below lists the ones it can produce.
The field or header the error is about, when there is one.
Headers
Section titled “Headers ”Identifier of this request. Quote it to support.
The API version this response was produced with.
Error codes: complete_too_early, no_show_too_early.
object
object
Machine readable code. The set is per operation; each response below lists the ones it can produce.
The field or header the error is about, when there is one.
Headers
Section titled “Headers ”Identifier of this request. Quote it to support.
The API version this response was produced with.
Error codes: internal_error.
object
object
Machine readable code. The set is per operation; each response below lists the ones it can produce.
The field or header the error is about, when there is one.
Headers
Section titled “Headers ”Identifier of this request. Quote it to support.
The API version this response was produced with.