Shopify API Tokens in Bloomreach
Any Bloomreach scenario that calls back into Shopify, for example to fetch tracking data for a dispatch email, needs a valid access token. Getting the first one is easy. Keeping the connection working every day after go-live is a matter of a few pieces of plumbing that are best built once, at the start.

How mature is your CRM setup?
Find out in minutes with a free CRM maturity check.
The token expires daily, so renewal is a scenario
The access token generated from your Shopify app’s client ID and secret is valid for 24 hours. That means renewal cannot be a manual task.
Build a scenario that runs continuously, regenerates the token every day and stores it where other scenarios read it. Never paste a token directly into a scenario. A hardcoded token works on the day you test it and fails the next morning, along with every email that depends on it.
Store it once, read it everywhere
Keep the current token in one place and let every scenario read it from there. Voxwise’s practice is to store it in a dedicated catalogue, so a renewal updates every scenario at once.
If you store the token through Data hub, plan for more than one step. A Data hub catalogue has to exist first, the token is pushed into it through the Collections API, and further calls are needed to sync the catalogue into Bloomreach Marketing. That sync is part of the renewal, not an afterthought.
Build the request once
Scenarios that call Shopify all authenticate the same way, with the token in the X-Shopify-Access-Token header of a GraphQL request. Configure that request once as a reusable webhook preset rather than rebuilding it in each scenario. When something changes, you change it in one place.
Give the Bloomreach team its own app
Ask for a dedicated Shopify custom app for the Bloomreach side, with its own credentials and permission to create webhooks. The team can then set up the subscriptions it needs itself instead of routing each one through whoever manages the store.
Keep Admin API calls off the front end
Calls to the Shopify Admin API should not run from the storefront. Anything sent from a browser can be read in its network logs, including keys. Route these calls through a server-side layer instead.
Keep helper events out of reporting
Every webhook a scenario sends creates a campaign event, and the token renewal is a webhook that runs every day. Tag these helper calls with custom attributes so they can be identified, remove them after a day and exclude them from campaign reporting. Otherwise your reporting and your event store fill up with entries that have nothing to do with customers.
How mature is your CRM setup?
Find out in minutes with a free CRM maturity check.
Put the API version in the calendar
Each version of the Shopify GraphQL Admin API is supported for one year. A month before the version you use is retired, check every call and move to the newer version. Calls that are left on a retired version can stop working without a clear warning.
Frequently asked questions
The token generated from the app’s client ID and secret is valid for 24 hours, so it needs to be regenerated every day by a scenario.
In one place that every scenario reads from, such as a dedicated catalogue. If you use Data hub, include the sync into Bloomreach Marketing in the renewal.
Because every webhook a scenario sends, including the daily token renewal, creates a campaign event. Tag them, remove them after a day and exclude them from reporting.
Before the integration goes live
The connection between Bloomreach and Shopify depends on a token that changes every day and an API version that changes every year. Voxwise sets up this plumbing on Shopify and Bloomreach Marketing builds before the first transactional email goes live, so the emails do not depend on someone remembering a renewal.