Shopify Support
This section describes how Shopify support is enabled and configured in the platform.
Enable/disable feature
Shopify support is controlled on backend side through:
MODULES_SHOPIFY=1-> Shopify module enabledMODULES_SHOPIFY=0(or unset) -> Shopify module disabled
What this affects:
- Shopify GraphQL module registration
- Shopify webhook/task processing paths
/v1/healthcheck/shopifyavailability (503with "Shopify module is disabled." when off)
After changing MODULES_SHOPIFY, restart backend so module wiring is rebuilt.
Required environment variables
Set these in backend runtime env:
SHOPIFY_STOREFRONT_GRAPHQL_URISHOPIFY_ADMIN_GRAPHQL_URISHOPIFY_PRIVATE_TOKEN(required for Admin API; also preferred for Storefront API)SHOPIFY_ACCESS_TOKEN(optional fallback for Storefront API if no private token is set)SHOPIFY_WEBHOOK_SIGNING_SECRET(required when receiving Shopify webhooks)SHOPIFY_API_KEYSHOPIFY_API_SECRET
Where env values come from
Shopify admin/source of truth:
SHOPIFY_STOREFRONT_GRAPHQL_URI:https://<shop>.myshopify.com/api/<version>/graphql.jsonSHOPIFY_ADMIN_GRAPHQL_URI:https://<shop>.myshopify.com/admin/api/<version>/graphql.jsonSHOPIFY_PRIVATE_TOKEN: Admin API access token from your Shopify appSHOPIFY_ACCESS_TOKEN: Storefront access tokenSHOPIFY_WEBHOOK_SIGNING_SECRET: Shared secret used to sign webhook requests
Setup checklist
- Configure Shopify URIs and tokens in backend env.
- Set
MODULES_SHOPIFY=1. - Restart backend.
- Verify using
GET /v1/healthcheck/shopify.
Shopify banner references
Banner-specific behavior is documented on dedicated pages: