Skip to content

List Channels

EndpointMethod
/api/admin/settings/channelsGET

Returns every channel (storefront) configured in the store in the { data, meta } envelope. Use it to audit which storefronts a store runs, or look up a channel's id before a detail / update / delete call.

Pagination

ParameterDescription
pagePage number, 1-based. Default 1.
per_pageItems per page. Default 10, max 50.

Filters

Query parameters that narrow the result. Supplying more than one narrows further — they combine with logical AND. They mirror the admin Channels datagrid filters.

ParameterMatchExample
codePartial (contains), on the channel code.?code=default
namePartial (contains), on the channel's translated name.?name=Store
hostnamePartial (contains), on the channel hostname.?hostname=example.com

Sorting

ParameterValues
sortid (default), code, name
orderasc, desc (default desc)

Both the compound form ?sort=name-asc and the split form ?sort=name&order=asc are accepted.

Notes

  • Listing rows are slim: the detail-only nested data — locales, currencies, inventorySources, and translations — is not included here. Fetch a single channel with the detail endpoint to get it populated.
  • code and hostname match against the channel row; name matches against the channel's translation for the current locale.

See the Channels overview for field meanings and behaviour.

Released under the MIT License.