Skip to main content
The 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.

Example configuration

Parameter description 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.

Example configuration

Parameter description