API Change Log – June 8, 2023
Updates for this release.
Guests
-
API endpoint: {api_url}/v1/guests/{guestID}
-
Scenario: When retrieving guest data, if there is data available for the LastUpdatedFrom property, it will be included in the response.
-
Earlier behavior: The LastUpdatedFrom property was not present.
-
New behavior: To keep track of the last update from the source, in the tbluser table, to the GuestInfo model, the LastUpdatedFrom property is added.
-
API documentation link: https://docs.zenoti.com/reference/retrieve-guest-details
-
API endpoint: {api_url}/v1/guests/{guest_id}
-
Scenario: Retrieving guests' deposit applicability.
-
Earlier behavior: The previous version of the API was not returning guests' deposit applicability.
-
New behavior: The modified API will now return guests' deposit applicability.
-
API documentation link: https://docs.zenoti.com/reference/retrieve-guest-details
Invoice
- Webhook event: Invoice.Closed
- Scenario: This automation notifies your application whenever an invoice is closed in Zenoti.
- Earlier behavior: The Invoice.Closed Webhook did not return the email ID of the guest.
- New behavior: The Invoice.Closed Webhook returns the email ID of the guest.
Appointments
- Webhook event: Appointment Group Created
- Scenario: This automation notifies your application whenever an appointment group is created.
- Earlier behavior: The Appointment Group Created Webhook did not return room ID and equipment ID.
- New behavior: The Appointment Group Created Webhook returns room ID and equipment ID.