Env Values

Required For Admin

ValueDescription
SHOPIFY_APP_URLThe url to your store (no https://)
SHOPIFY_CLIENT_IDThe Client ID you received when generating your app
SHOPIFY_CLIENT_SECRETThe Client Secret you received when generating your app.

Required For Frontend

If you are using the JavaScript publishable in the addon you'll also need to set the following.

ValueDescription
SHOPIFY_STOREFRONT_URLThe custom url to your store if you have one (no https://) [optional]
SHOPIFY_STOREFRONT_TOKENFound in the configuration section of your Headless Sales Channel

Required For Webhooks

If you are using the webhook handlers you'll need the following.

ValueDescription
SHOPIFY_WEBHOOK_SECRETFound when creating your first notification. Read more about this here

Optional

These allow you to tweak how the system works. Please check out the config/shopify.php for a full list of options.

ValueDescription
SHOPIFY_API_VERSIONThe version of the storefront and admin APIs you want to target (defaults to '2025-04').
SHOPIFY_ASSET_CONTAINERThe asset container you want to use to store assets (defaults to 'shopify')
SHOPIFY_ASSET_PATHThe path in the container you want to use to store assets (defaults to '').
SHOPIFY_COLLECTION_HANDLEThe handle of the collection that contains your Shopify products, defaults to 'products'.
SHOPIFY_JOB_QUEUEThe queue to run the shopify jobs on. Allows you to set it to a different one than the default.
SHOPIFY_SALES_CHANNELThe Sales Channel to use for product availability, defaults to 'Online Store'.
SHOPIFY_TAXONOMY_COLLECTIONSThe taxonomy handle to use for shopify collections (defaults to 'collections').
SHOPIFY_TAXONOMY_TAGSThe taxonomy handle to use for 'tags' of product (defaults to 'tags').
SHOPIFY_TAXONOMY_TYPEThe taxonomy handle to use for 'types' of product (defaults to 'type').
SHOPIFY_TAXONOMY_VENDORThe taxonomy handle to use for 'vendors' of product (defaults to 'vendor').

Multi-Store

Used when running multiple Shopify stores from one Statamic installation. See Multi-Store for full setup details.

ValueDescription
SHOPIFY_MULTI_STORE_ENABLEDSet to true to enable multi-store mode (defaults to false).
SHOPIFY_MULTI_STORE_MODEEither unified (shared entries with per-store pricing) or localized (one entry set per Statamic site). Defaults to unified.
SHOPIFY_MULTI_STORE_PRIMARYThe handle of the store whose data populates top-level fields in unified mode.

Per-store credentials follow the pattern SHOPIFY_STORE_{HANDLE}_{KEY}, e.g.:

ValueDescription
SHOPIFY_STORE_UK_URLThe .myshopify.com URL for the store (no https://).
SHOPIFY_STORE_UK_ADMIN_TOKENAdmin API token (or use CLIENT_ID / CLIENT_SECRET for OAuth).
SHOPIFY_STORE_UK_STOREFRONT_TOKENStorefront API token.
SHOPIFY_STORE_UK_WEBHOOK_SECRETWebhook signing secret for this store.
SHOPIFY_STORE_UK_API_VERSIONAPI version override for this store (defaults to 2025-04).
Edit this page on GitHub Updated at Mon, Mar 16, 2026