---
title: CollectionSourceInclusionConditionProductCategoryInput - GraphQL Admin
description: The input fields for a condition based on product categories.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CollectionSourceInclusionConditionProductCategoryInput
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CollectionSourceInclusionConditionProductCategoryInput.md
api_name: admin
api_type: graphql
type: input-object
---

# Collection​Source​Inclusion​Condition​Product​Category​Input

input\_object

The input fields for a condition based on product categories.

## Fields

* match​Type

  [Collection​Condition​Match​Type!](https://shopify.dev/docs/api/admin-graphql/latest/enums/CollectionConditionMatchType)

  non-null

  Whether to match any or all of the values.

* relation

  [Collection​Source​Inclusion​Condition​Product​Category​Relation!](https://shopify.dev/docs/api/admin-graphql/latest/enums/CollectionSourceInclusionConditionProductCategoryRelation)

  non-null

  The relationship between the product category and the condition values.

* values

  [\[Collection​Source​Inclusion​Condition​Product​Category​Value​Input!\]!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CollectionSourceInclusionConditionProductCategoryValueInput)

  required

  The product category values to match against.

***

## Input objects using this input

* [Collection​Source​Inclusion​Condition​Input.productCategory](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CollectionSourceInclusionConditionInput#fields-productCategory)

  INPUT OBJECT

  A condition that determines which products are included in a collection.

  Available condition types, grouped by what they filter on:

  * **Product attributes**: `productTag`, `productTitle`, `productType`, `productVendor`, `productStatus`, `productCategory`.
  * **Variant attributes**: `variantTitle`, `variantPrice`, `variantCompareAtPrice`, `variantInventory`, `variantWeight`.
  * **Pricing**: `isPriceReduced`.
  * **Metafields**: `metafieldBoolean`, `metafieldDecimal`, `metafieldString`, `metafieldStringList`, `metafieldMetaobject`, `metafieldMetaobjectList`, and either `metafieldInteger` or `metafieldInt` for integer metafields. Use `metafieldInteger` before API version 2026-10 and `metafieldInt` from 2026-10 onward. `metafieldInteger` is deprecated as of 2026-10 and removed as of 2027-01.

  Each condition type specifies its own `relation` (for example, `EQUALS`, `CONTAINS`, `TAGGED_WITH`) and value shape. Combine multiple conditions in a single source's `inclusion.conditions` list and use the source's `matchType` to require that products match `ANY` or `ALL` of them.

***

## Map

### Input objects using this input

* [Collection​Source​Inclusion​Condition​Input.productCategory](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CollectionSourceInclusionConditionInput#fields-productCategory)
