> For the complete documentation index, see [llms.txt](https://changelog.airship.co.uk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://changelog.airship.co.uk/may-2023/03-05-2023-airship-rest-release.md).

# 03/05/2023: Airship REST release

## **👌** Upgrades and improvements

\
**Updates to pop API responses**\
The booking, purchase and WIFI response objects have been updated to contain more data. They now look like:\
\
**Booking:**      &#x20;

```
        {
            "booking_contact_id": "60512865",
            "booking_reference": null,
            "id": 18104263,
            "account_id": "806",
            "contact_id": "60512865",
            "unit_id": "13835",
            "stage_value": "69",
            "type_id": "51",
            "datetime": "2021-04-27 20:30:00",
            "source_id": "16",
            "party_datetime": "2021-04-21 20:30:00",
            "party_size": "10",
            "deposit_paid": "0.01",
            "hpbr_food": "0.00",
            "hpbr_drink": "0.00",
            "hpbr_entertainment": "0.00",
            "updated_at": "2021-04-27 20:30:00"
        }
```

**Purchase:**

```
{
    "transaction_lines": [
        {
            "id": 14538643,
            "description": "Negroni",
            "sku": "8913aaa",
            "quantity": "1",
            "value": "7.00"
        },
        {
            "id": 14538644,
            "description": "Garlic Bread",
            "sku": "5621aaa",
            "quantity": "2",
            "value": "8.40"
        }
    ],
    "id": 3580279,
    "contact_id": "60512865",
    "transaction_reference": "77FFA1s-24FF-234F-77FF",
    "unit_id": "13835",
    "transaction_date": "2023-01-01 14:30:00",
    "created_at": null
}
```

**WIFI:**

```
        {
            "id": 41192545,
            "hotspot_name": "Bar 01",
            "contact_id": "60512865",
            "mac_address": "01:A1:C1:11:C1:11",
            "device_mime_type": "airshipapp",
            "type": "authenticated",
            "datetime": "2022-01-01 12:30:00"
        }
```

\
\
:technologist:Lee
