Repository navigation
2.0.0
This is a major version change. If you are a sender, make a plan to migrate your data mapping from 1.11.0. If you are a receiver, update your webhooks to handle the new version alongside LTS versions (1.11.0), based on the incoming data's schema version.
If you are a custodial client, you may have to manually update your webhook's maximum schema version to start receiving data of the newer version. Until you do, data will be 'downshifted' to fit the 1.11.0 schema.
Breaking Changes
passengerchanges from type["string", "null"]to a nullablePersonobjectmetadatais removed from flight ticketsguestsis now an array ofPersonobjectscurrent_period_startandcurrent_period_endhave been renamedcurrent_period_start_atandcurrent_period_end_atmetadata,taxes,adjustmentsand other arrays that are valid when empty are now also optional and nullable
Other Changes
- Fixed:
placenullable fields should also not be required - Fixed:
vehiclenullableimageshould also not be required - Fixed:
currencyshould supportcnyinstead ofcnh - Added to rental car
vehiclelicense_plate_number(string)vehicle_class(ACRISS car code, four letters)
- Added
adjustment_typeenum option:add_on - Added
websitetocustomer - regex pattern validation for
vehicle_class,phone,routing_number,last_fourand airport codes - minimum and maximum bounds for unix timestamps
New Passenger Model
A Person is distinct from a Customer in that it always refers to an individual.
| Field | Type | Required | Description |
|---|---|---|---|
| first_name | string | null | No | |
| last_name | string | null | No | |
| preferred_first_name | string | null | No | |
| string | null | No | ||
| phone | string | null | No | |
| metadata | array of metadatum | No | List of metadata items |