ÃÛ¶¹ÊÓƵ

GraphQL

The GraphQL workspace allows administrators to build and test GraphQL queries using their own data.

This workspace supports the and queries.

GraphQL workspace

query productSearch {
  productSearch(phrase: "a306") {
    total_count
    items {
      product {
        sku
        name
      }
    }
    facets {
      title
    }
  }
}

Variables:

{
  "Magento-Environment-Id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "Magento-Website-Code": "base",
  "Magento-Store-Code": "base",
  "Magento-Store-View-Code": "default",
  "X-Api-Key": "search_gql"
}
recommendation-more-help
8eedb3c4-09d2-4e4f-917b-524833fc6b4f