updatePassBySerial
Update a pass by serial number
Updates the dynamic data of an active pass looked up by serial number.
Optionally sends a push notification to registered devices.
At least one of data, expires_at, locations, relevant_date,
or max_distance is required.
When a serial has both Apple and Google passes, use ?wallet_type= to select which one (defaults to apple).
Scope: passes:manage
Maps to OpenAPI operationId updatePassBySerial — PATCH /manage-passes/serial/{serial_number}.
Same PassFast HTTP API, billing, and rate limits. Do not invent other paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | New dynamic field values to merge into the pass. | |
| x_app_id | No | Override X-App-Id for this call. Defaults to the MCP connection header. | |
| locations | No | GPS locations where the pass is relevant (overrides template defaults). | |
| expires_at | No | Expiration timestamp (set to null to remove expiration). | |
| push_update | No | If true, send a push notification to registered devices. | |
| wallet_type | No | Wallet type to look up when a serial number has both Apple and Google passes. Defaults to `apple` for backward compatibility. | apple |
| max_distance | No | Maximum distance in meters from a location for lock screen relevance. | |
| relevant_date | No | ISO 8601 date when the pass is relevant (lock screen). | |
| serial_number | Yes | Pass serial number (unique within app + wallet type). | |
| strip_image_id | No | Override the template's strip/hero image for this pass. The referenced image must belong to the same app and have purpose `strip` (or a `strip_*` variant). Applied to Apple `strip.png` and Google `heroImage` atomically (synced to the sibling pass for dual-wallet). Send `null` to clear the override and revert to the template's strip image. Omit the field to leave the current override unchanged. |