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

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

input\_object

The input fields for a condition based on product tags.

## 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​Tag​Relation!](https://shopify.dev/docs/api/admin-graphql/latest/enums/CollectionSourceInclusionConditionProductTagRelation)

  non-null

  The relationship between the product tag and the condition values.

* values

  [\[String!\]!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  non-null

  The tag values to match against.

***

## Input objects using this input

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

  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.productTag](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CollectionSourceInclusionConditionInput#fields-productTag)
