updatePass
Update a pass
Updates the dynamic data of an active pass. Optionally sends a push
notification to registered devices so they fetch the updated pass.
At least one of data, expires_at, locations, relevant_date,
or max_distance is required.
Scope: passes:manage
Maps to OpenAPI operationId updatePass — PATCH /manage-passes/{id}.
Same PassFast HTTP API, billing, and rate limits. Do not invent other paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Pass ID. | |
| 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. | |
| 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). | |
| 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. |