Skip to main content
PATCH
/
v1
/
admin
/
bookings
/
{id}
Update a booking
curl --request PATCH \
  --url https://{operatorDomain}/v1/admin/bookings/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "confirmed"
}
'
{
  "data": {
    "id": "01J9ZB...",
    "status": "confirmed",
    "bookingNumber": "BK-100245",
    "productId": "prod_01J9",
    "currency": "EUR",
    "totalAmount": 124900,
    "createdAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Staff session or API token issued by your Voyant app.

Path Parameters

id
string
required

Body

application/json
status
string
Example:

"confirmed"

Response

200 - application/json

Updated booking

data
object