Get Section
One published section of the current channel's active theme.
Endpoint
| Method | Path | Purpose |
|---|---|---|
GET | /api/shop/sections/{id} | Get a section |
Path parameters
| Parameter | Description |
|---|---|
id | Section ID. |
Response fields
Identical to List sections.
Best practices
- A
404here does not always mean the section was deleted. A section that is switched off, or belongs to a theme the channel no longer runs, is not part of the storefront surface and answers404the same way. - Read every locale from
translationswhen building a language switcher that keeps the shopper on the same block.
Errors
| Status | When |
|---|---|
404 | No published section with this ID in the current channel's active theme. |
Permissions
Public. Requires only the storefront key.

