Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Adobe Campaign Classic

Update Apple Wallet and Google Wallet passes managed in The Wallet Crew from Adobe Campaign Classic workflows by calling The Wallet Crew API.

Which Adobe Campaign page do I need?

  • This page: Adobe Campaign Classic workflows call The Wallet Crew API to update passes during a campaign. Adobe Campaign calls The Wallet Crew.

  • Adobe Campaign transactional messaging (Email provider): The Wallet Crew calls Adobe Campaign to send its own transactional emails, such as an account created or a download link.

Adobe Campaign Classic workflows can trigger The Wallet Crew API calls. This enables automated pass updates during a campaign. Typical updates include adding an offer, updating loyalty data, or writing a campaign message into additionalData.

Real-world examples
  • A retail brand adds a personalized message to a VIP segment pass, right after send-out.

  • A show organizer updates a wallet ticket with a last-minute gate change.

  • A ticketing provider writes a campaignId into additionalData to measure wallet conversions.

Prerequisites

Access to an API key with permission to update passes is required. A stable identifier must also exist in Adobe Campaign, and match the identifier used to find passes in The Wallet Crew (for example, a customer ID).

The API host depends on the environment. See Environments and URLs. Replace the sample values with the ones of the tenant.

API request overview

The Wallet Crew pass update API is called with PATCH. The example below filters passes with an external identifier (id.<system>.<name>, here id.crm.customerId) and updates additionalData. The query parameter is the identifier key prefixed with id.: the key itself (<system>.<name>) is the one configured on the tenant. To send a wallet notification, use the notification call (PUT) described in Bloomreach activities.

The API key needs the tenant.pass:write permission. The filter is either id=<passId> alone or one or more external identifiers prefixed with id.; combining id with other identifiers is refused (400). Responses: 202 (update queued), 200 (applied within the request when options.bypassQueue is true), 400, 404 (no pass matches), 409 (synchronous update only: the pass changed concurrently, retry).

Example PATCH request
curl -X 'PATCH' \
  'https://<host>/api/<tenantId>/passes?id.crm.customerId=00100000207298' \
  -H 'accept: */*' \
  -H 'X-API-KEY: <your API key>' \
  -H 'Content-Type: application/json' \
  -d '{
        "additionalData": {
          "adobe_message": "Exclusive offer: come visit us."
        }
      }'

Adobe Campaign workflow design

The safest setup keeps selection and execution separate. Selection defines who should be updated. Execution defines what should be written to the pass.

1

Select the audience

A query activity selects the target population. The outbound transition should contain the identifier that matches The Wallet Crew pass lookup key (example: customerId).

2

Iterate on records

A workflow pattern can process one record at a time, or small batches, depending on the expected volume. This reduces the blast radius in case of API errors.

3

Call The Wallet Crew API

The PATCH /passes endpoint is called for each identifier. The payload should stay minimal and only write fields that must change (example: additionalData.adobe_message).

4

Log and handle errors

Workflow logs should store the HTTP status code and response body. An explicit error path for non-2xx responses is recommended (retry, quarantine, or manual review), depending on campaign criticality.

5

Validate results

Validation typically starts with a small test segment. Expected fields can then be confirmed on a sample of passes in The Wallet Crew.

Implementation example (JavaScript activity)

The example uses the documented Adobe Campaign Classic JavaScript APIs: xtk.queryDef.create with an E4X query to read the population (SOAP methods in JavaScript), and HttpClientRequest to call The Wallet Crew API (HttpClientRequest). The outbound URL may need to be allowed in the instance configuration.

FAQ

How to avoid rate limits when updating large audiences?

Batching and throttling reduce the chance of hitting API limits. A common approach is to process records in small groups, add pauses between batches, and retry with backoff on 429/5xx responses.

Where should the API key be stored in Adobe Campaign?

Use the credential storage mechanism of the Adobe Campaign instance instead of hardcoding the key in activities or scripts. Restrict access to the key to the operators and workflows that need it.

Last updated