Wallet Multi-Pass Adaptive Links
Create an Adaptive Link that generates multiple mobile wallet passes from a single URL.
Adaptive Links are a vendor-agnostic, mobile wallet pass links that support templates for both Google Wallet and Apple Wallet. When a user taps the link, Airship determines the user’s platform and generates the right pass for that platform.
Today’s release adds the ability to download multiple passes from a single link. Combine passes from multiple templates in different projects, even if they are different pass types, to do things like:
- Provide multiple boarding passes at once for a group of travelers
- Bundle event tickets with parking passes
- Include a coupon with a loyalty card download
First, create individual Adaptive Links. Then append up to 10 comma-separated Adaptive Link IDs in this format: https://wallet-api.urbanairship.com/v1/pass/adaptive?ids={adaptiveLinkId},{adaptiveLinkId},{adaptiveLinkId}
.
https://wallet-api.urbanairship.com/v1/pass/adaptive?ids=7XRMaSpcEQk,Y0E6EXuTx5i,XGMuDpx2RDs
You can distribute the URL to users in the above format. As with any other pass link, you can send multi-pass Adaptive Links to users in numerous ways.
You also have the option to use multi-pass URLs in GET
API calls. Use a GET
call if you don’t want to serve your users an Adaptive Link. Specify a device type in the GET
URL to request a .pkpass or JSON and stream it to the user from your app or website.
Documentation
Categories