Bookings

Record or correct a booking's sales episode outcome

Records what the call was worth: won, lost with a reason, or still open. Send an Idempotency-Key so a retried submit can't write twice. To correct an outcome, send the expectedVersion you read. A stale version returns 409 with the current one, so you can re-read and try again.

API key scopes: bookings:write. You also need an Idempotency-Key header.

post/api/bookings/{id}/outcome

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/bookings/{id}/outcome
  • Auth: one of:
    • API key in cookie luca.session_token
    • API key in header x-api-key
    • HTTP bearer

Path parameters

idstring uuid required

Identifier of the booking this operation targets.

Headers

idempotency-keystring required

Key that makes this mutation safe to retry. Replaying a key returns the original response with Idempotency-Replayed: true instead of acting twice.

Luca-API-Version'1'

The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.

Request body

OR
OR

Response

ok

Changes

No recorded changes to this operation across all 1 revision of this API.