update_pass
Modify an existing wallet pass by updating custom fields, adjusting stamps or balance, or setting validity. Identify the pass by ID or external ID and template ID to apply changes.
Instructions
Update an existing pass's fields, stamps, or balance. Use this to modify customer data, add/remove loyalty stamps, adjust balance, or invalidate a pass. Identify the pass by ID or by externalId + templateId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Pass ID (use this OR externalId + templateId) | |
| isValid | No | Set pass validity (false = voided/greyed out) | |
| externalId | No | External ID (must be combined with templateId) | |
| templateId | No | Template ID (required when using externalId) | |
| customFields | No | Custom metadata to update (string or number values) | |
| stampOperation | No | Stamp collection operation (for stamp cards) | |
| templateFields | No | Template field values to update. Values must be strings or numbers. Dates accept 'YYYY-MM-DD' or a full ISO 8601 timestamp. | |
| redemptionValue | No | Update NFC redemption value | |
| balanceOperation | No | Balance operation (for gift cards / prepaid) |