latestOpenAPI 3.0.02026-08-106054.4 KB
42536792b3f8
Confirm Offer
Confirm Offer
The Confirm Offer endpoint is used to finalize the purchase of products from a previously created Offer. This endpoint converts the selected Offer into a confirmed booking after payment has been successfully collected.
Idempotency
This endpoint supports idempotency keys via the x-idempotency-key header to prevent duplicate transactions. Provide a unique operation identifier (e.g., UUID) to ensure safe retries. Duplicate requests return:
- 409 Conflict: The request was already processed; response contains the cached original result (handle as success)
- 423 Locked: The original request is still processing; retry after a short delay
post/partners/{partner_code}/offers/{offer_id}/confirm/
Headers
x-idempotency-keystring uuid
A unique identifier to ensure idempotent request processing. If a request with the same idempotency key and body has already been processed, the cached response is returned with a 409 Conflict status code (which can be treated as successful). Keys are stored for 48 hours.
Request body
Response
OK