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

# productsSearch

GraphQL QUERY

search products by name,sku,id.  
Doesn't require a Token.

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

## GraphQL Schema

```graphql
query ExampleQuery($storeHash: String, $channelId: Int, $search: String, $productIds: [Int], $currencyCode: String, $companyId: String, $offset: Int, $limit: Int, $customerGroupId: Int, $showAllProducts: Boolean, $categoryFilter: Boolean) {
  productsSearch(storeHash: $storeHash, channelId: $channelId, search: $search, productIds: $productIds, currencyCode: $currencyCode, companyId: $companyId, offset: $offset, limit: $limit, customerGroupId: $customerGroupId, showAllProducts: $showAllProducts, categoryFilter: $categoryFilter) {
    id
    name
    sku
    costPrice
    inventoryLevel
    inventoryTracking
    availability
    orderQuantityMinimum
    orderQuantityMaximum
    variants
  }
}
```

## Variables

```json
{
  "storeHash": "example",
  "channelId": 0,
  "search": "example",
  "productIds": [
    0
  ],
  "currencyCode": "example",
  "companyId": "example",
  "offset": 0,
  "limit": 0,
  "customerGroupId": 0,
  "showAllProducts": true,
  "categoryFilter": true
}
```