Update Apple Wallet pass
update_wallet_passChange a pass made with create_wallet_pass(updatable=True); every iPhone that added it refreshes.
Takes the serial_number and edit_token returned when the pass was created, plus any of
create_wallet_pass's parameters, with the same meanings. Each parameter given replaces the
stored value completely (a fields list replaces the whole list, so resend unchanged fields
too); parameters left out keep their current values. Clear a text value with "" and a list
with []. To cancel a pass, set voided=True: Wallet marks it void on every iPhone.
Wallet asks the server for the new version as soon as Apple delivers the push, usually within
seconds. A field's changeMessage is shown on the lock screen when that field's value changes.
Only works until the pass's updatable_until time (set by updatable_hours at creation).
Returns {download_url, expires_in_seconds, serial_number, pass_type_identifier,
notified_devices, updatable_until}. notified_devices counts the iPhones the push was sent to, not ones that
have already refreshed. The download_url (valid 1 hour) is only needed to add the pass to a
new device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | ||
| poster | No | ||
| voided | No | ||
| icon_text | No | ||
| locations | No | ||
| logo_text | No | ||
| semantics | No | ||
| edit_token | Yes | ||
| icon_color | No | ||
| info_links | No | ||
| logo_color | No | ||
| back_fields | No | ||
| description | No | ||
| label_color | No | ||
| icon_png_b64 | No | ||
| logo_png_b64 | No | ||
| max_distance | No | ||
| transit_type | No | ||
| footer_fields | No | ||
| generate_logo | No | ||
| header_fields | No | ||
| relevant_date | No | ||
| serial_number | Yes | ||
| strip_png_b64 | No | ||
| barcode_format | No | ||
| primary_fields | No | ||
| artwork_png_b64 | No | ||
| barcode_message | No | ||
| expiration_date | No | ||
| semantic_layout | No | ||
| auxiliary_fields | No | ||
| background_color | No | ||
| barcode_alt_text | No | ||
| featured_actions | No | ||
| foreground_color | No | ||
| secondary_fields | No | ||
| organization_name | No | ||
| thumbnail_png_b64 | No | ||
| background_png_b64 | No | ||
| primary_logo_png_b64 | No | ||
| secondary_logo_png_b64 | No |