close

Filter

Headless Server Developer Manual / Version 2104
Table Of Contents

Pages within the eCommerce system can be augmented with CMExternalPage content objects. The commerce root object offers a field externalPage which allows querying the CMS page content given a page ID and a site ID. The following example query retrieves the header and main placements from the CMExternalPage associated with the about-us page:

{
  commerce {
    externalPage(externalId: "about-us",
                 siteId: "sfra-en-gb") {
      externalId
      name
      grid {
        placements(names: ["header", "main"]) {
          name
          items {
            name
            type
          }
        }
      }
    }
  }
}
Was this article useful?

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.