Manage pass lifecycle with the API
Create, update, notify, deactivate, and track Apple Wallet and Google Wallet passes with The Wallet Crew API.
Manage pass lifecycle with the API
Before managing a pass
Pass state model
Creating a pass
POST /api/{tenantId}/passes?passType=loyalty
{
"identifiers": {
"shopify.customerId": "12345",
"shopify.customerId.hmac": "{hmac-of-12345}"
},
"additionalData": { "loyaltyTier": "silver" }
}POST /api/{tenantId}/passes?passType=loyalty
{
"identifiers": { "shopify.customerId": "12345" },
"additionalData": { "loyaltyTier": "silver" }
}Type of the pass to create. Must match a file in the tenant server/passes/ configuration.
Data payload for pass creation operations.
Arbitrary data to persist with the pass (for example, loyalty tier, store code, or campaign flags).
Extensibility data related to this pass.
Pass created successfully.
Identifiers cannot be validated and caller lacks Pass.Write scope.
Updating pass data
PATCH /api/{tenantId}/passes?id=xK9mP2nQr7sT
{
"additionalData": { "loyaltyTier": "gold" },
"options": { "updateMetadata": true }
}PATCH /api/{tenantId}/passes?id.shopify.customerId=12345
{
"identifiers": { "email": "[email protected]" },
"additionalData": { "loyaltyTier": "gold" },
"options": { "updateMetadata": false }
}type of the pass to update. type name should be one of the file in the server/passes/ tenant configuration.
Data payload for single pass update operations.
Arbitrary data to persist with the pass (for example, loyalty tier, store code, or campaign flags).
Optional pass type to convert the pass to.
Specifies if passes metadata should be updated. Updating metadata is time consuming and could be avoided for notification only push update
falseIndicates whether the push update should bypass the queue and run immediately. Queuing helps protect the system load and should only be bypassed when required.
falsePass update enqueued or applied successfully.
No content
No pass found matching the provided identifiers.
No content
Push notification behavior
Sending a standalone notification
Send a notification to the pass identified by its pass identifier
The internal identifier of the pass
Could be null if LocalizedContent is specified
Localized notification content by language code. Key: ISO 639-1 code or "iso2-region" (e.g., "en", "en-US"). Value: The notification content for that language.
OK
No content
Not Found
No content
Wallet removal
FAQ
Last updated

