> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

# site

GraphQL QUERY

A site

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/storefront/queries/site

## GraphQL Schema

```graphql
query ExampleQuery {
  site {
    search {
      searchProducts
    }
    categoryTree {
      entityId
      name
      path
      description
      productCount
      image
      hasChildren
      children
    }
    category {
      id
      entityId
      name
      path
      defaultImage
      description
      breadcrumbs
      products
      metafields
      seo
    }
    brands {
      pageInfo
      edges
    }
    products {
      pageInfo
      edges
      collectionInfo
    }
    newestProducts {
      pageInfo
      edges
      collectionInfo
    }
    bestSellingProducts {
      pageInfo
      edges
      collectionInfo
    }
    featuredProducts {
      pageInfo
      edges
      collectionInfo
    }
    product {
      id
      entityId
      sku
      path
      name
      description
      plainTextDescription
      warranty
      minPurchaseQuantity
      maxPurchaseQuantity
    }
    route {
      node
      redirect
    }
  }
}
```