Skip to content

Channel Detail

Returns a single channel by id. The assigned locales, currencies, inventory sources, and the per-locale translations are returned as field-selectable connections — pick exactly the node fields you need.

Operation

OperationTypePurpose
adminSettingsChannel(id: ID!)QueryFetch one channel by id

Nested data

FieldShapeNode fields
localesconnection_id, code, name, direction
currenciesconnection_id, code, name, symbol
inventorySourcesconnection_id, code, name, status
translationsconnection_id, locale, name, description, maintenanceModeText, homeSeo

Notes

  • locales, currencies, and inventorySources are connections — sub-select { edges { node { … } } }. Read the assigned ids as locales { edges { node { _id } } } (and likewise for currencies / inventory sources).
  • The home-page SEO triplet is selectable as three flat fields — seoMetaTitle, seoMetaDescription, seoMetaKeywords — read from the channel's home_seo block. The raw homeSeo object is also available if you prefer the whole block at once. Each translation node carries its own per-locale homeSeo.
  • allowedIps is a JSON array of IP / CIDR strings (or empty when unrestricted).
  • logo / favicon are the stored relative paths; logoUrl / faviconUrl are the ready-to-use absolute URLs. All four are null when no image is set.

Prerequisites

The example uses an illustrative id. Replace it with a channel id that exists in your store — use the adminSettingsChannels query to discover valid ids.

Released under the MIT License.