Wallet Pass Groups
Organize and change flights and events in bulk, making it easier to manage related flight itineraries and event tickets.
Pass groups are like tags for flight and event objects: they’re a simple mechanism to help you organize and group your flights and events. This can be especially helpful for flights with multiple stops, concerts with associated backstage passes, etc., that you may need to modify simultaneously.
You can add flights or events to one or more pass groups at creation time, or you can add your flights and events to a passGroup
later. You can then target the passGroup
for a set of flights or events to make a change to all of the flights or events belonging to the group.
Add a flight to a pass group:
POST /v1/flights/project/id/<projectExternalId>/id/<flightExternalId>/passGroups HTTP/1.1
Authorization: Basic <authorization string>
Content-Type: application/json
{
"passGroups" :["sfo-pdx-20200407", "pdx-yvr-20200407"]
}
Update
departure_time
for multiple flights:PUT /v1/flights/project/12345/passGroups/sfo-pdx-20200407 HTTP/1.1
Authorization: Basic <authorization string>
Content-Type: application/json
{
"fields": {
"departureTime": {
"value": "2020-04-07T10:00:00"
}
}
}
Update the
venueTitle
for multiple events:PUT /v1/events/project/12345/passGroups/giants_2020-04-07 HTTP/1.1
Authorization: Basic <authorization string>
Content-Type: application/json
{
"fields": {
"venueTitle": {
"value": "Oracle Park"
}
}
}
For more information, see:
Categories