Update labels to custom fields
As part of updating labels to custom fields, we'll be introducing changes to the InvoiceLine model of our API:
As part of updating labels to custom fields, we'll be introducing changes to the InvoiceLine model of our API:
We have updated two endpoints in the Trips API, you can now get a single trip by ID at trips/{id} and filter trips based on the traveler id at trips?traveler_id={int}.
We have fixed an issue with the List all Invoices endpoint. If no explicit sort parameter was provided, the endpoint was returning invoices in a random order. This also meant that invoices would occasionally be missing from the paginated response.
We have updated the Trip.Created/Updated webhook to additionally be dispatched when the Travellers on a Trip are updated, the Travellers are not included in the Trip.Created/Updated payload but can be fetched form the users openAPI endpoints when the Trip.Created/Updated web hook notifies that there is a change of state to the Trip.
We have added a new endpoint to retrieve custom field values associated with a trip. See the Retrieve custom fields documentation for details.
We have added a new attribute in the metadata object within the InvoiceLine model.
The new attribute, related_vertical will provide information regarding the vertical (flight, hotel, train, car, other) that the line in the invoice has been booked to. The existing service attribute complements the related_vertical information.
We have added a new optional filter to the list invoice profiles endpoint to allow the caller to exclude personal invoice profiles from the response. See list invoice profiles API endpoint documentation for details.
We are going to complete an upgrade of the infrastructure that supports our Developer Sandbox environment to facilitate our continued growth, to do this there will be a scheduled downtime of up to 30 mins at 6pm GMT on Tuesday 21st Nov.
Feature Flag Rollout: Starting in two weeks, we will begin a gradual rollout of a new feature designed to enhance the reliability and consistency of webhook deliveries for our partners.
We've changed the admin and traveller calendar names to be different from each other. Previously, they would both appear in users' calendars as 'TravelPerk Trips ✈️'. But this created confusion in cases a user had both, admin and traveller calendars enabled.