# Confirm or cancel booking Updates the status of a booking to either or . - A new booking starts with the status. - To confirm the booking and lock the inventory, you must update the status to . - Bookings in the status will expire if not actioned within 5 days. - To cancel a booking, a cancellation request is created and is subject to approval. Endpoint: PUT /v2/bookings/{uuid}/{status} Version: 2.1 Security: Authorization ## Path parameters: - `uuid` (string, required) UUID of booking - `status` (string, required) Status or ## Response 200 fields (application/json): - `data` (object) This object is returned in the response whenever a booking is created, modified or viewed in the API - `data.adults` (integer) - `data.amountBreakdown` (array) - `data.amountBreakdown.name` (string, required) - `data.amountBreakdown.price` (string, required) - `data.amountBreakdown.quantity` (integer, required) - `data.arrivalDate` (string) - `data.cancellationRequestAt` (string,null) - `data.cancellationRequestStatus` (string) - `data.cancellationStatus` (string,null) - `data.children` (integer) - `data.code` (string) - `data.completedAt` (string,null) - `data.createdAt` (string) - `data.currencyCode` (string) - `data.currencyUuid` (string) - `data.email` (string) - `data.firstName` (string) - `data.lastName` (string) - `data.links` (array) - `data.links.method` (string, required) - `data.links.rel` (string, required) - `data.links.href` (string, required) - `data.options` (array) - `data.partnerReference` (string) - `data.phone` (string) - `data.productTypeTitle` (string) - `data.productTypeTitleTranslated` (string) - `data.productTypeUuid` (string) - `data.refundAmount` (number,null) - `data.refundDate` (string,null) - `data.refundTransaction` (string,null) - `data.salutation` (string) - `data.seniors` (integer) - `data.status` (string) - `data.ticketTypes` (array) - `data.ticketTypes.type` (string, required) - `data.timeSlot` (string) - `data.totalAmount` (number) - `data.updatedAt` (string) - `data.uuid` (string) - `timestamp` (string) ## Response 400 fields (application/json): - `message` (string) A human-readable error message. - `code` (string) An internal error code. - `http_code` (integer) Http Status Code ## Response 401 fields (application/json): - `message` (string) A human-readable error message. - `code` (string) An internal error code. - `http_code` (integer) Http Status Code ## Response 404 fields (application/json): - `message` (string) A human-readable error message. - `code` (string) An internal error code. - `http_code` (integer) Http Status Code ## Response 405 fields (application/json): - `message` (string) A human-readable error message. - `code` (string) An internal error code. - `http_code` (integer) Http Status Code ## Response 409 fields (application/json): - `message` (string) A human-readable error message. - `code` (string) An internal error code. - `http_code` (integer) Http Status Code