Skip to content
You are reading the pinned copy of v1.0, which is also the latest release. Read the latest.

Storefront (storefront API)

Storefront and customer routes of the storefront module. Send Accept-Language (or X-Locale from a browser) on every call; a customer route needs the session cookie.

Get the public store identity, currency, locales, stock threshold and pixels

Responses:

  • 200: Storefront config retrieved.

DEPRECATED: Get homepage hero + mid-banner config

Deprecated. Use GET /v1/storefront/sections/:pageSlug instead. Every field is null and the route is removed in a later release.

Responses:

  • 200: Banner config retrieved (every field null on a current store).

Get visible storefront sections for a page (Translatable resolved, asset URLs hydrated)

Parameters:

  • pageSlug in path (string, required).

Responses:

  • 200: Sections retrieved.
  • 400: Invalid pageSlug.
As seen on Open Source Alternatives The Merchant Engine badge