GroupingInfo

  • JSON representation defines the structure for organizing passes within a digital wallet.

  • sortIndex is an optional integer field used for ordering passes visually, with lower values appearing first.

  • groupingId is an optional string field enabling visual grouping of passes, potentially of different types, based on shared ID.

JSON representation
{
  "sortIndex": integer,
  "groupingId": string
}
Fields
sortIndex

integer

Optional index for sorting the passes when they are grouped with other passes. Passes with lower sort index are shown before passes with higher sort index. If unspecified, the value is assumed to be INT_MAX. For two passes with the same sort index, the sorting behavior is undefined.

groupingId

string

Optional grouping ID for grouping the passes with the same ID visually together. Grouping with different types of passes is allowed.