List storefront sections
Changed onReturns the published sections of the current channel's active theme, in render order. A channel holds one page worth of sections, so the default page size is 50 — enough to draw the storefront in a single call. Filter by ?type= (image_carousel, product_carousel, category_carousel, footer_links, static_content, services_content). Public endpoint.
Request
- Base URLhttp://localhost:8000/api/shop
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The collection page number
The number of items per page
Section type
Headers
Storefront API Key for authentication. Required for all shop/storefront API requests.
Locale code for localized data (e.g. "en", "fr", "ar"). Defaults to channel's default locale.
Channel code (e.g. "default"). Defaults to the current channel.
Currency code (e.g. "USD", "EUR", "INR"). Defaults to channel's base currency.
Response
List of sections.
Changes
- info
api tag
Themeadded - info
api tag
Sectionremoved
- info
- info
endpoint added
- info