8.SET Compose

Query 8.SET Compose product set by an arbitrary product identifier from your catalogue.

Complete product sets by SKU

This example illustrates fetching 8.SET Compose product sets by a given SKU from your catalogue.

The setCompose query was formerly named productSets. For backwards compatibility we will provide and maintain both fields for a while. Please be aware though, that productSets has been deprecated and will be removed at some point in the future.

query {
  setCompose(input: {queryType: SKU, value: "486890-0001-09900"}, first: 1) {
    edges {
      node {
        id
        title
        description
        triggerProduct {
          alternatives {
            edges {
              node {
                sku
                model {
                  id
                }
                variants {
                  edges {
                    node {
                      sku
                    }
                  }
                }
              }
            }
          }
          model {
            id
          }
          sku
          variants {
            pageInfo {
              endCursor
            }
            edges {
              node {
                sku
              }
            }
          }
        }
        setProducts {
          variants {
            edges {
              node {
                sku
              }
            }
          }
          model {
            id
          }
          alternatives {
            edges {
              node {
                sku
                variants {
                  edges {
                    node {
                      sku
                    }
                  }
                }
              }
            }
          }
          sku
        }
      }
    }
  }
}

Last updated