Theme

Get a storefront section by ID

Changed on

Returns one published section (carousel, static content, footer links, etc.) of the current channel's active theme, with its current-locale translation and all translations. The options field is a JSON-encoded string. Public endpoint.

get/sections/{id}

Request

Path parameters

idstring required

Section ID

Headers

X-STOREFRONT-KEYstring required

Storefront API Key for authentication. Required for all shop/storefront API requests.

X-Localestring
Example:en

Locale code for localized data (e.g. "en", "fr", "ar"). Defaults to channel's default locale.

X-Channelstring
Example:default

Channel code (e.g. "default"). Defaults to the current channel.

X-Currencystring
Example:USD

Currency code (e.g. "USD", "EUR", "INR"). Defaults to channel's base currency.

Response

The section.

Changes