Apple Wallet Order Tracking

Apple Wallet Order Tracking lets shoppers add an order to the Wallet app on their iPhone, where they can see the order contents and follow its delivery progress. This page explains which fields you need to send through the Commerce API so that the Wallet order pass is complete.


PrerequisiteDetails
Order sourceOrders must be imported through a connected eCommerce store, the Commerce API, or an order CSV. Shipments created through the Tracking API alone cannot use Apple Wallet.
Enable the add-onTurn it on in the AfterShip Tracking admin under Add-ons > Apple Order Tracking. Only the Admin, Owner, or Member(s) of the organization can enable it.
Configure the Order PageUnder Add-ons > Apple Order Tracking > Apple Wallet Order Page, select the Order source and fill in the store name, logo, store URL, and order management page URL. The pass cannot be generated without this configuration.
ScopeOnce enabled, the widget applies to all connected stores and orders in the organization. It cannot be turned on per store.

For the admin configuration steps, see the Help Center article Set up Apple Wallet Order Tracking With AfterShip Tracking.

The shipment section of the Wallet pass — courier, tracking number, estimated delivery, delivered time, and delivery status — comes from the AfterShip tracking record, not from the fields you write on the fulfillment.

If you use Inline Mode and only provide a tracking_number, AfterShip does not create a tracking task, and the entire shipment section is missing from the pass. Shoppers see the items and the amounts, but not where the parcel is.

In short: create the tracking with the Tracking API first, then reference it from the fulfillment through trackings[].id.

For the full comparison of the two modes, see Tracking Modes: Reference and Inline.

Commerce API fieldRequirementHow it appears on the pass
itemsRequiredWithout items, no item list is shown on the pass
items.*.product_titleRequiredProduct name
items.*.quantityRequiredQuantity
items.*.image_urlsRecommendedThe first URL in the array is used as the product image. Without it, a letter placeholder is shown
items.*.unit_priceRecommendedUnit price
items.*.skuRecommendedSKU
items.*.product_variant_titleRecommendedVariant information
Commerce API fieldRequirementHow it appears on the pass
order_totalRequiredWithout it, the entire payment summary is omitted from the pass
currencyRequiredCurrency of all amounts
subtotalRecommendedThe Subtotal row. Shown as 0 when omitted
discount_totalRecommendedThe Discounts row, shown as a negative amount. Shown as 0 when omitted
shipping_totalRecommendedThe Shipping row. Shown as 0 when omitted
tax_totalRecommendedThe Taxes row. When taxes_included is true, taxes are not listed separately and item prices are shown tax-inclusive instead
Commerce API fieldRequirementDetails
statusRequiredMapped to one of the three Wallet order states: open, completed, or cancelled
numberRecommendedShown as the order number
source_created_atStrongly recommendedSee Known Limitations — without it, the Apple Wallet analytics report has no data

This section does not come from fields on the fulfillment. It comes from the tracking referenced through Reference Mode.

Content on the passSource
Courier nameThe slug of the tracking
Tracking numberThe tracking_number of the tracking
Delivery status and descriptionThe latest shipment status retrieved by AfterShip
Estimated deliveryThe AfterShip estimated delivery date
Delivered timeThe delivery timestamp from the tracking checkpoints
Which items are in this parcelThe relationship between the fulfillment line_items and the order items

The store name, logo, store URL, order management page URL, support email, and support phone number on the pass all come from the Add-ons > Apple Order Tracking > Apple Wallet Order Page configuration in the admin. They cannot be passed through the Commerce API.

Step 1 — create the order

preparing...

Step 2 — create the tracking with the Tracking API

preparing...

Step 3 — create the fulfillment and reference that tracking

preparing...

With these three steps done, a shopper who taps Track with Apple Wallet on the Branded Tracking Page, in an email, or in an SMS receives a complete order pass.

Because of privacy requirements, when a shopper opens the tracking page using only a tracking number, the order number and the item details — including images and prices — are not written into the Wallet pass, even if you sent all of the fields described above.

For item information to appear, the link you send to shoppers must carry both the order number and the email address:

preparing...

In email templates, use the ORDER_URL merge tag rather than TRACKING_URL.

The Apple Wallet analytics report attributes events by order creation time. If an order has no creation time, Wallet events are still ingested, but the report shows no data for them.

Always send source_created_at when creating an order.

The Track with Apple Wallet button requires iOS 17+ or macOS 14+. Order passes can only be viewed and tracked on iPhone. For the full device and browser support matrix, see the Help Center article linked above.

After an order has been added to Apple Wallet from a supported device, the button is removed from the tracking page and from subsequent emails and SMS messages. This is expected behavior.