storefrontApi node bundles the configuration options for the storefront API.
storefrontApi* - Basic structure
The basic structure of the storefrontApi node is shown below:
Parameter description
storefrontApi.redirects - Template redirect
The storefrontApi.redirects node defines which name (identifier) points to which template in the shop.
You can open this setting directly in the Admin Interface via the following link: https://<shop-domain>/admin/config/storefrontApi.redirects (Deeplink overview)
Example configuration
With the example configuration above,
session/prepareRedirect returns a link of the form:
The values in
parameters are fixed in the configuration and identical for every call. Values that differ per call are instead passed in the request body of session/prepareRedirect — those land in the session, not in the URL.storefrontApi.catalogApiSettings - Control of the catalogue endpoints
The storefrontApi.catalogApiSettings node controls which catalogue endpoints are available in the storefront API and which fields may be returned via them.
You can open this setting directly in the Admin Interface via the following link: https://<shop-domain>/admin/config/storefrontApi.catalogApiSettings (Deeplink overview)
