close

Filter

loading table of contents...

Headless Server Developer Manual / Version 2406.1

Table Of Contents

7.2.3 Augmented Pages

Pages within the eCommerce system can be augmented with CMExternalPage content objects (see Section 6.2.3.6, “Adding Content to Other Pages” in Studio User Manual). 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
          }
        }
      }
    }
  }
}

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

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