---
title: "CollectionRuleProductCategoryCondition"
description: "指定产品类别字段的条件"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/products-and-collections/objects/collection-rule-product-category-condition'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/products-and-collections/objects/collection-rule-product-category-condition.md'
---
# CollectionRuleProductCategoryCondition

指定产品类别字段的条件

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`CollectionRuleProductCategoryCondition`

## Fields

* `value`

  [ProductTaxonomyNode!](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/products-and-collections/objects/product-taxonomy-node.md)

  条件值

## Schema Definition

```graphql
type CollectionRuleProductCategoryCondition { 
	value: ProductTaxonomyNode! 
}
```

## Error Handling

关于更多通用错误码说明，参考：[状态码和错误码](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes)。

