Theme

Get the active theme of the current channel

Changed on

Returns the theme this channel's storefront is drawn with, and the section types it can hold. The sections themselves are read from /api/shop/sections, which is already scoped to this theme. Public endpoint.

get/theme

Request

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 active theme.

Changes