CMS Page

Returns CMS pages, each with its current-locale translation embedded. Pass url_key to fetch the page the storefront shows at /page/{url_key}: it must be assigned to the current channel, and a CMS URL rewrite for an old key is followed. The result is then a list of one page, or empty. Public endpoint.

get/pages

Request

Query parameters

url_keystring
Example:about-us

URL key (slug) of the page, as in the storefront URL.

pageinteger

The collection page number

per_pageinteger

The number of items per page

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

List of CMS pages.

Changes