Sign in

Update booking

documented

Update details of an existing booking.

PUT /v1/bookings/{orderNumber}Bookingsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.rezdy.com/v1/bookings/{{$orderNumber}}" \
  -X PUT \
  -H "Content-Type: application/json; charset=UTF-8" \
  -H "Accept: application/json" \
  -H "apiKey: {{REZDY_API_KEY}}" \
  -d '{"resellerReference": "{{$resellerReference}}", "resellerComments": "{{$resellerComments}}", "orderNumber": "{{$orderNumber}}", "status": "{{$status}}", "customer": { "id": {{$customer_id}}, "firstName": "{{$customer_firstName}}", "lastName": "{{$customer_lastName}}", "name": "{{$customer_name}}", "phone": "{{$customer_phone}}" }, "items": [ { "pickupLocation": { "locationName": "{{$pickupLocationName}}" }, "productCode": "{{$productCode}}", "productName": "{{$productName}}", "startTimeLocal": "{{$startTimeLocal}}", "startTime": "{{$startTimeISO}}", "endTime": "{{$endTimeISO}}", "endTimeLocal": "{{$endTimeLocal}}", "quantities": [ { "optionLabel": "{{$optionLabel}}", "value": {{$quantity}} } ], "totalQuantity": {{$quantity}}, "amount": {{$amount}}, "subtotal": {{$subtotal}}, "participants": [ { "fields": [ { "label": "First Name", "value": "{{$participant_firstName}}" }, { "label": "Last Name", "value": "{{$participant_lastName}}" } ] } ] } ], "totalAmount": {{$totalAmount}}, "totalCurrency": "{{$currency}}", "totalPaid": {{$totalPaid}}, "totalDue": {{$totalDue}}, "payments": [ { "type": "{{$paymentType}}", "amount": {{$paymentAmount}}, "currency": "{{$currency}}", "date": "{{$paymentDate}}", "label": "{{$paymentLabel}}", "recipient": "RESELLER" } ], "fields": [ { "label": "Barcode", "value": "{{$barcode}}" } ] }'