> 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 object

A site

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

## Fields

- `search` — The Search queries.
- `categoryTree` — A tree of categories.
- `category` — Retrieve a category object by the id.
- `brands` — Details of the brand.
- `products` — Details of the products.
- `newestProducts` — Details of the newest products.
- `bestSellingProducts` — Details of the best selling products.
- `featuredProducts` — Details of the featured products.
- `product` — A single product object with variant pricing overlay capabilities.
- `route` — Route for a node
- `settings` — Store settings.
- `content` — The page content.
- `currency` — Currency details.
- `currencies` — Store Currencies.
- `publicWishlist` — Public Wishlist
- `popularBrands` — List of brands sorted by product count.
- `cart` — The Cart of the current customer.
- `checkout` — The checkout of the current customer.
- `giftCertificate` — Details of a gift certificate.
- `paymentMethods` — List of enabled payment methods for the current store and channel. Alpha: do not use in production. **Deprecated:** Alpha version. Do not use in production.
- `paymentWallets` — List of payment wallets.
- `paymentWalletWithInitializationData` — A single payment wallet with initialization data.
- `brand` — Details of a brand.
- `order` — A single order.
- `promotion` — Promotion for the current shopper.
- `storedInstrumentsManifest` — The stored instruments manifest, resolved for the current environment. **Deprecated:** Alpha version. Do not use in production.

## Definition

```graphql
type Site {
  search: SearchQueries!
  categoryTree(rootEntityId: Int): [CategoryTreeItem!]!
  category(entityId: Int!): Category
  brands(before: String, after: String, first: Int, last: Int, productEntityIds: [Int!], entityIds: [Int!]): BrandConnection!
  products(before: String, after: String, first: Int, last: Int, ids: [String!], entityIds: [Int!], hideOutOfStock: Boolean): ProductConnection!
  newestProducts(before: String, after: String, first: Int, last: Int, hideOutOfStock: Boolean): ProductConnection!
  bestSellingProducts(before: String, after: String, first: Int, last: Int, hideOutOfStock: Boolean): ProductConnection!
  featuredProducts(before: String, after: String, first: Int, last: Int, hideOutOfStock: Boolean): ProductConnection!
  product(id: String, entityId: Int, variantEntityId: Int, optionValueIds: [OptionValueId!], sku: String, useDefaultOptionSelections: Boolean): Product
  route(path: String!, redirectBehavior: RouteRedirectBehavior!): Route!
  settings: Settings
  content: Content!
  currency(currencyCode: currencyCode!): Currency
  currencies(before: String, after: String, first: Int, last: Int): CurrencyConnection!
  publicWishlist(token: String!): PublicWishlist
  popularBrands(before: String, after: String, first: Int, last: Int): PopularBrandConnection!
  cart(entityId: String): Cart
  checkout(entityId: String): Checkout
  giftCertificate(code: String!): GiftCertificate
  paymentMethods(before: String, after: String, first: Int, last: Int): PaymentMethodConnection
  paymentWallets(filter: PaymentWalletsFilterInput, before: String, after: String, first: Int, last: Int): PaymentWalletConnection!
  paymentWalletWithInitializationData(filter: PaymentWalletWithInitializationDataFilterInput!): PaymentWalletWithInitializationData
  brand(entityId: Int!): Brand
  order(filter: OrderFilterInput): OrderWithPayments
  promotion: Promotion!
  storedInstrumentsManifest: StoredInstrumentsManifest
}
```