Stay organized with collections
Save and categorize content based on your preferences.
Use a grouping ID
By default, adding multiple passes to a single
Add to Google Wallet link will not group those passes in the
user's Google Wallet app. However, passes can be grouped together by making
sure they all have the same grouping ID. Grouped passes will appear together
in the Google Wallet app. When a group of passes is selected, each pass will
be shown on a carousel.
To add a pass to a group, the groupingInfo.groupingId property of
the pass object must be set. All pass objects with the same
groupingId value will be automatically grouped together, even if
they were added separately.
The following example shows a loyalty card and offer being grouped together to
entice the user to make use of both in their next purchase.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-28 UTC."],[[["Multiple passes added to Google Wallet can be grouped together by assigning them the same `groupingId`."],["Grouped passes are displayed together in the Google Wallet app, allowing users to easily access related passes."],["Passes can be grouped during initial creation or later using the `update` or `patch` methods."],["The `groupingInfo.groupingId` property is used to specify the group for a pass."]]],["Passes in Google Wallet can be grouped by assigning them a shared `groupingId`. This can be done during the initial provisioning or later using `update` or `patch` methods. Setting the `groupingInfo.groupingId` property to the same value for multiple passes ensures they appear together as a carousel in the user's Wallet app. The `sortIndex` property within `groupingInfo` is used to arrange the order of passes. Example: A loyalty card and offer are grouped with the same ID.\n"]]