section
One published section of the current channel's active theme.
Arguments
| Argument | Type | Description |
|---|---|---|
id | ID! | Section IRI, e.g. /api/shop/sections/3. |
Node fields
Identical to sections.
Best practices
- Pass the IRI form, not the bare number.
idis/api/shop/sections/3; a plain3does not resolve. - A section that is switched off, or belongs to a theme the channel no longer runs, does not resolve here — it is not part of the storefront surface, so the query answers with an error rather than a hidden record.
- Use
translationsfor a language switcher that keeps a shopper on the same block.
Permissions
Public. Requires only the storefront key.

