Getting Started
Env Values
Required For Admin
Value |
Description |
|---|---|
|
The url to your store (no https://) |
|
The Client ID you received when generating your app |
|
The Client Secret you received when generating your app. |
|
Only for legacy custom apps created in the Shopify admin: the Admin API access token ( |
Required For Frontend
If you are using the JavaScript publishable in the addon you'll also need to set the following.
Value |
Description |
|---|---|
|
The custom url to your store if you have one (no https://) [optional] |
|
Found in the configuration section of your Headless Sales Channel |
Required For Webhooks
If you are using the webhook handlers you'll need the following.
Value |
Description |
|---|---|
|
The secret used to verify incoming webhook signatures. For webhooks registered via the Artisan command / Admin API (the recommended path) this is your app's Client Secret — set it to the same value as |
Optional
These allow you to tweak how the system works. Please check out the config/shopify.php for a full list of options.
Value |
Description |
|---|---|
|
The version of the storefront and admin APIs you want to target (defaults to '2026-01'). |
|
How many times to retry an Admin API request that fails with a 429 or 5xx response (defaults to 2). |
|
Imports pause when the available GraphQL query cost budget drops below this many points (defaults to 500). |
|
How prices are formatted: |
|
Your shop's ISO 4217 currency code, e.g. |
|
Seconds to wait for an Admin API response before giving up (defaults to 30). |
|
Record webhooks and imports in the activity log (defaults to true). |
|
Where the activity log is stored: |
|
Database connection for the activity log (defaults to your default connection). |
|
Table for the activity log (defaults to |
|
How many days of activity to keep (defaults to 30). |
|
The asset container you want to use to store assets (defaults to 'shopify') |
|
The path in the container you want to use to store assets (defaults to ''). |
|
Delete an image's old asset when a new file replaces it (defaults to false). See images. |
|
The handle of the collection that contains your Shopify products, defaults to 'products'. |
|
Import a product's collections that haven't been imported yet (defaults to true). See collections. |
|
The queue to run the shopify jobs on. Allows you to set it to a different one than the default. |
|
The Sales Channel to use for product availability, defaults to 'Online Store'. |
|
The taxonomy handle to use for shopify collections (defaults to 'collections'). |
|
The taxonomy handle to use for 'tags' of product (defaults to 'tags'). |
|
The taxonomy handle to use for 'types' of product (defaults to 'type'). |
|
The 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.
Value |
Description |
|---|---|
|
Set to |
|
Either |
|
The handle of the store whose data populates top-level fields in unified mode. |
|
With |
Per-store credentials follow the pattern SHOPIFY_STORE_{HANDLE}_{KEY}, e.g.:
Value |
Description |
|---|---|
|
The |
|
Admin API token (or use |
|
Storefront API token. |
|
Webhook signing secret for this store. For Admin API–registered webhooks this is the store's Client Secret ( |
|
API version override for this store (defaults to |