> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sibipro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Product categories

Retrieve the list of product categories available for a given manufacturer. Use the returned category names to filter results in [`searchProducts`](/graphql/ordering/search-products).

# `OrderingQuery.productCategories()`

```graphql theme={null}
type OrderingQuery {
  productCategories(manufacturer: String!): [OrderingProductCategory!]!
}
```

## Input

### `manufacturer`

`string` - The manufacturer to retrieve categories for (e.g. `'ge'`, `'msi'`).

## Response

### `OrderingProductCategory`

[`OrderingProductCategory[]`](#orderingproductcategory) - List of product categories available for the given manufacturer.

## `OrderingProductCategory`

```graphql theme={null}
type OrderingProductCategory {
  name: String!
}
```

### `name`

`string` - The category name. Pass this value in the `categories` parameter of [`searchProducts`](/graphql/ordering/search-products) to filter by this category.

***

## Example

```graphql theme={null}
query {
  ordering {
    productCategories(manufacturer: "ge") {
      name
    }
  }
}
```

```json theme={null}
{
  "data": {
    "ordering": {
      "productCategories": [
        { "name": "Refrigerators" },
        { "name": "Dishwashers" },
        { "name": "Ranges" },
        { "name": "Washers" }
      ]
    }
  }
}
```
