--- title: CollectionRuleTextCondition - GraphQL Admin description: Specifies the condition for a text field. api_version: 2025-10 api_name: admin type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/objects/collectionruletextcondition md: https://shopify.dev/docs/api/admin-graphql/latest/objects/collectionruletextcondition.md --- # Collection​Rule​Text​Condition object Requires `read_products` access scope. Specifies the condition for a text field. ## Fields * value [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null The value of the condition. *** ## Map ### Possible type in * [Collection​Rule​Condition​Object](https://shopify.dev/docs/api/admin-graphql/latest/unions/CollectionRuleConditionObject)