---
title: "Get a storefront section by ID"
method: GET
path: "/sections/{id}"
tags: ["Theme"]
---

# Get a storefront section by ID

`GET /sections/{id}`

## Request

- Base URL: `http://localhost:8000/api/shop`
- URL: `http://localhost:8000/api/shop/sections/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-shop-api/docs/sections/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns one published section (carousel, static content, footer links, etc.) of the current channel's active theme, with its current-locale `translation` and all `translations`. The `options` field is a JSON-encoded string. Public endpoint.

## Path parameters

- `id` string, required

## Headers

- `X-STOREFRONT-KEY` string, required
- `X-Locale` string
- `X-Channel` string
- `X-Currency` string

## Response `200`

The section.

## Other responses

- `404`: Section not found, unpublished, or not part of this channel's active theme.

## Changes

- **2026-08-27** `3b32ec1564da`: 2 info
  - api tag `Theme` added
  - api tag `Section` removed
- **2026-08-26** `3cbd913bde77`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bagisto/apis/bagisto-shop-api/changes/sections/:id/get.md)

---

[API](https://skmtc.dev/bagisto/apis/bagisto-shop-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-shop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-shop-api/revisions/f619df36bf29?raw)
