Booking Update

Overview

Airship allows partners to update bookings within the airship platform, to enable booking updates / cancelations / no shows to be updated.

To update a booking, you'll need an Airship booking ID to be passed in the URL, which can be found from the booking search.

Endpoint

https://api.airship.co.uk/v1/bookings/{booking_id}

Configuration

Path Parameters

Field

Notes

booking_id

Headers

Field

Notes

Authentication (bearer token)

Query parameters

The booking fields which can be accepted in this section can be found in the Append Booking Data section, with the addition of account_id (required)

Field

Notes

account_id

The account ID represents the account that you are searching bookings in. If you are unsure of what your account ID is, ask our support team to confirm.

Basic update booking payload

{
    "account_id": 3,
    "enquiry_datetime": "2021-04-27 20:30:00",
    "updated_at": "2021-04-27 20:30:00",
    "source_id": 16,
    "party_size": 10,
    "stage_value": 69,
    "type_id": 51,
    "unit_id": 67,
    "party_datetime": "2021-04-27 20:30:00",
    "party_enquirytime": "2021-04-27 21:00:06",
    "deposit_paid": 0.01,
    "hpbr_drink": 0,
    "hpbr_food": 0,
    "hpbr_entertainment": 0,
    "data": {
      "element_01": "My-Booking-Reference",
      "element_03": "juice",
      "element_20": "chicken"
    },
    "notes": [
      {
        "text": "Test note on bookingID",
        "time": "2021-04-27 21:00:06"
      }
    ]
}

Last updated