Apple Wallet and Google Wallet pass designs, and the passes members have installed.
A pass design decides what the Apple Wallet and Google Wallet pass looks like and who gets it: all members, or those of one membership, one store, or both. When you save or delete a design, Toki updates the passes members have installed in the background.
walletPassReturns a pass design by id.walletPassesLists your pass designs: default designs first, then membership designs in membership order.walletPassUpsertCreates a pass design when id is null, or replaces the design with that id; the fields mean the same as on TokiWalletPass.walletPassDeleteDeletes a pass design.walletPassSettingsUpdateUpdates settings that apply to all your wallet passes, without changing the passes members have installed.userWalletPassesLists the Apple Wallet and Google Wallet passes a member has added, newest first, including ones they have removed since.Returns a pass design by id. Without id, returns a template for a new, inactive design: the settings of your most recent default design, or a starter design if you have none.
idStringThe design to return. Leave it out to get a template for a new one.
A wallet pass design for Apple Wallet and Google Wallet, for all members or limited to a membership, a store or both.
idIDnull only in the template that walletPass returns when called without id.
tierIdIDThe TokiMembership whose members get this design; null for a default design.
shopIdIDThe store this design is for; null for all stores.
activeBoolean!Whether members get this design; inactive designs are drafts.
createdAtStringOnly set in walletPasses results.
nameStringThe membership's name, Default for a default design, or Membership deleted if its membership was deleted. Only set in walletPasses results.
shopNameStringThe store's name, or its domain if it has none; null for all stores. Only set in walletPasses results.
settingsTokiWalletPassSettings!The look and content of a pass: colors, images, fields, QR code, punch card stamps and locations.
Lists your pass designs: default designs first, then membership designs in membership order. A member gets the active design of their highest-ranked membership that has one, or else an active default design; a design for their store wins over one for all stores.
reverseBooleanReverse the sort order.
A page of TokiWalletPass in nodes, with pageInfo for the next page. Each item:
A wallet pass design for Apple Wallet and Google Wallet, for all members or limited to a membership, a store or both.
idIDnull only in the template that walletPass returns when called without id.
tierIdIDThe TokiMembership whose members get this design; null for a default design.
shopIdIDThe store this design is for; null for all stores.
activeBoolean!Whether members get this design; inactive designs are drafts.
createdAtStringOnly set in walletPasses results.
nameStringThe membership's name, Default for a default design, or Membership deleted if its membership was deleted. Only set in walletPasses results.
shopNameStringThe store's name, or its domain if it has none; null for all stores. Only set in walletPasses results.
settingsTokiWalletPassSettings!The look and content of a pass: colors, images, fields, QR code, punch card stamps and locations.
Creates a pass design when id is null, or replaces the design with that id; the fields mean the same as on TokiWalletPass. Toki then updates installed passes in the background: every Apple Wallet pass, and the Google Wallet passes that use this design. Requires a plan that includes wallet passes.
idStringThe design to replace; null creates a new one.
tierIdStringLimits the design to members of this membership; null makes it a default design.
shopIdStringLimits the design to one of your stores; null or leaving it out applies it to all stores.
activeBoolean!Requiredtrue gives members this design; false keeps it as a draft.
settingsTokiWalletPassSettingsInput!RequiredWhat passes with this design show, and how they look.
A wallet pass design for Apple Wallet and Google Wallet, for all members or limited to a membership, a store or both.
idIDnull only in the template that walletPass returns when called without id.
tierIdIDThe TokiMembership whose members get this design; null for a default design.
shopIdIDThe store this design is for; null for all stores.
activeBoolean!Whether members get this design; inactive designs are drafts.
createdAtStringOnly set in walletPasses results.
nameStringThe membership's name, Default for a default design, or Membership deleted if its membership was deleted. Only set in walletPasses results.
shopNameStringThe store's name, or its domain if it has none; null for all stores. Only set in walletPasses results.
settingsTokiWalletPassSettings!The look and content of a pass: colors, images, fields, QR code, punch card stamps and locations.
Deletes a pass design. Toki then updates installed passes in the background, and passes that used it switch to the next design that matches the member, if any. Requires a plan that includes wallet passes.
idString!RequiredThe design to delete.
true when the change was made. Anything that stops it comes back as an error.
Updates settings that apply to all your wallet passes, without changing the passes members have installed. Requires a plan that includes wallet passes.
allowPosAuthWithReferralCodeBooleanLets staff identify a member at Shopify POS by their referral code, for example by scanning the referral QR code on their pass. Referral codes are public, so this is less secure than the personal QR code. Leaving it out keeps the current setting.
true when the change was made. Anything that stops it comes back as an error.
Lists the Apple Wallet and Google Wallet passes a member has added, newest first, including ones they have removed since. While you have no active pass design, the list is empty and visible is false.
reverseBooleanReverse the sort order.
userIdID!RequiredThe member whose passes to list.
startDateStringOnly passes created at or after this ISO 8601 time.
endDateStringOnly passes created at or before this ISO 8601 time. A date alone means its start, in UTC.
A page of TokiUserWalletPass in nodes, with pageInfo for the next page. Each item:
A pass a member added to Apple Wallet or Google Wallet.
idID!Unique only together with type.
typeString!Apple or Google.
shopString!The domain of the store the member added the pass from.
createdAtString!When the member added the pass to their wallet.
updatedAtString!deletedAtStringWhen the member removed the pass from their wallet; null while it's installed.