Batch operations
Update Apple Wallet and Google Wallet passes in bulk with the push update API or SFTP flat file imports, then track and cancel batches in the admin console.
The Wallet Crew supports two mechanisms for updating passes in bulk: the push update API and SFTP flat file imports.
Push update API
The operation below triggers a push update on all passes that match a filter condition. This is the primary batch mechanism for API-connected systems.
The endpoint accepts the same filter array as the passes list endpoint. See Filter and query operators for the full filter reference. As on the passes list, the filter conditions are query parameters (filter[0].field=...). The request body carries the change to apply and options.
The call needs the tenant.pass:pushUpdate scope. Cancelling a batch needs the same scope; reading its status needs tenant.pass:read.
Applies one change to every pass matching the filters (same fields and operators as GET /passes; no filter selects every pass) and pushes each to its holder's devices. Each pass is queued as its own update, spread by options.throughput: a 200 means scheduled, not done. Follow progress with GET /passes/pushUpdate/status under options.correlationId, stop it with POST /passes/pushUpdate/{correlationId}/cancel. additionalData is merged and passType replaces the template when sent; themeId omitted keeps each pass's theme, an empty string removes it. Identifiers are not changed.
POST /api/{tenantId}/passes/pushUpdate?filter[0].field=passType&filter[0].operator=equals&filter[0].value=loyalty
{ "additionalData": { "campaign": "summer2025" }, "options": { "throughput": 12, "correlationId": "campaign-summer-2025" } }Changes to apply to an existing pass, with options.
Free data stored with the pass and available to its templates.
Theme applied to the pass. Omit or null to leave it unchanged (none on create); an empty string removes it. An unknown id is refused with a 400.
Pass template to move the pass to. Omitted or blank keeps the current one; an unknown name is refused with a 400.
Replaced by options.updateMetadata.
falseThe passes are scheduled; the body gives how many.
What a bulk update scheduled.
Passes matched by the filters and queued for the update; 0 when none matched.
passType or themeId names a template or theme the tenant does not have, a filter names an unsupported field, or a filter has no operator.
The caller is not authenticated.
The caller lacks the tenant.pass:pushUpdate scope, or the endpoint is not enabled for the tenant.
The tenant does not exist.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
POST /api/{tenantId}/passes/pushUpdate HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 173
{
"identifiers": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"additionalData": null,
"themeId": null,
"passType": null,
"options": {
"throughput": 1,
"updateMetadata": true,
"correlationId": null
}
}{
"passCount": 1
}Each matching pass is queued for update independently. The platform resolves all matching pass IDs in-request, then enqueues them as a single command containing N individual per-pass tasks. The 200 response means the batch was accepted and scheduled — not that it has completed.
The endpoint does not cap the number of passes a single call can match. options.bypassQueue is not available on this endpoint.
Partial failures
Each pass is processed independently. A failure on one pass — for example, a connector error or a pass not found — does not affect the other passes in the batch.
SFTP flat file imports
SFTP imports allow you to update additional data, identifiers, pass templates, themes, benefit templates, and notifications across many passes by uploading a CSV file. This method is designed for legacy systems that cannot call the API directly.
Each row in the CSV targets a single pass. Passes are updated asynchronously after the file is detected on the SFTP server. Like the push update API, operations are per-pass and independent.
For the full file format, column reference, SFTP credentials, and custom mapping scripts, see Update passes with CSV files over SFTP in the Configure space.
Choosing between the two approaches
Best for
Real-time or scheduled integrations with API access
Legacy systems with flat file exports only
Data updated
The change in the request body, then a connector re-fetch via push
Updates additionalData, identifiers, passType, theme, benefit template and notification; updateMetadata recomputes metadata
Setup
No extra configuration required
Optional feature — must be enabled per tenant
Progress tracking
correlationId + status endpoint, or the console
Import log in Settings → General → SFTP updates and Import:* webhook events
Track and cancel batches in the console
Open Settings → Monitoring → Wallet updates to follow every batch push update operation and cancel any that is still running. Each row is one batch: a set of per-pass update tasks triggered by a single API call or system event.
Start
When the batch was accepted by the platform.
Last activity
When the most recent per-pass task in the batch was processed.
Operation
The internal name of the component that created the batch.
Correlation
The correlationId supplied in the push-update operation, or an auto-generated value.
Passes
Total number of passes in the batch.
Completed
Number of passes that have been processed (success or failure).
Errors
Number of passes that failed during processing.
Apple
Number of pass updates pushed to Apple devices.
Number of pass updates sent to Google Wallet.
Status
Running, Completed (Completed reached Passes) or Canceled.
Find a batch with correlationId
If options.correlationId is supplied in the push-update operation, that value appears in the Correlation column. If none is supplied, the platform generates one. The API response does not return it: find it in the Correlation column, or as operationData in GET /api/{tenantId}/passes/pushUpdate/status. The Operation names reflect the platform's internal architecture: use the Correlation column to identify the batches you own. Poll this page or check individual pass histories if real-time confirmation is needed.
Cancel a running operation
Use the cancel icon at the end of a Running row to stop further processing. It appears only for users allowed to stop bulk updates. Passes already processed before the cancellation are not rolled back.
Status accuracy
Status is computed from the counters only. It stays Running until Completed reaches Passes. A batch whose passes never finish stays Running: cancel it, then check the history of individual passes.
Last updated

