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

# priceProducts

GraphQL QUERY

Calculate batch pricing for products for a specific channel, currency, and customer group.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/b2b/b2b-graphql/queries/price-products

## GraphQL Schema

```graphql
query ExampleQuery($storeHash: String, $channelId: Int, $currencyCode: String!, $customerGroupId: Int, $items: [PricingProductItemInputType]!) {
  priceProducts(storeHash: $storeHash, channelId: $channelId, currencyCode: $currencyCode, customerGroupId: $customerGroupId, items: $items) {
    productId
    variantId
    options {
      optionId
      valueId
    }
    referenceRequest {
      productId
      variantId
      options
    }
    retailPrice {
      asEntered
      enteredInclusive
      taxExclusive
      taxInclusive
    }
    salePrice {
      asEntered
      enteredInclusive
      taxExclusive
      taxInclusive
    }
    minimumAdvertisedPrice {
      asEntered
      enteredInclusive
      taxExclusive
      taxInclusive
    }
    saved {
      asEntered
      enteredInclusive
      taxExclusive
      taxInclusive
    }
    price {
      asEntered
      enteredInclusive
      taxExclusive
      taxInclusive
    }
    calculatedPrice {
      asEntered
      enteredInclusive
      taxExclusive
      taxInclusive
    }
  }
}
```

## Variables

```json
{
  "storeHash": "example",
  "channelId": 0,
  "currencyCode": "example",
  "customerGroupId": 0,
  "items": [
    {
      "productId": 0,
      "variantId": 0,
      "options": [
        {
          "optionId": 0,
          "valueId": 0
        }
      ]
    }
  ]
}
```