Shopware — admin and store APIs
shopware/api · version 1
envs add shopware/api
This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.
| Key | Needed | Kind | Notes |
|---|---|---|---|
SHOPWARE_ACCESS_TOKEN |
required | config | The sales channel access key, sent as a header by headless frontends and mobile apps. Shopware's own reference storefront names it under a NUXT_PUBLIC_ prefix, which is the basis here. Generating a new one invalidates the old at once.. where to get it |
SHOPWARE_ACCESS_KEY_ID |
optional | secret | For the admin API, which uses an OAuth pair rather than that header. Shopware documents the field names rather than variables, so this name is convention.. where to get it |
SHOPWARE_SECRET_ACCESS_KEY |
optional | secret | The other half of that pair. Self-hosted, so your own installation issues both.. where to get it |