---
title: "CollectionRuleColumn"
description: "The product attribute used to add products to the collection."
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/enums/collection-rule-column'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/enums/collection-rule-column.md'
---
# CollectionRuleColumn

The product attribute used to add products to the collection.

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

## Values

* `ADDITIONAL_PURCHASES`

  Product add-to-cart quantity.

* `DATE_CREATED`

  Product creation time.

* `OPTION_VALUE`

  Product variant title.

* `PAGE_VIEWS`

  Product page views.

* `PRODUCT_METAFIELD_DEFINITION`

  The value of the product metafield.

* `PRODUCT_TAXONOMY_NODE_ID`

  Standard product type.

* `PRODUCT_TAXONOMY_NODE_ID_WITH_DESCENDANTS`

  Standard product type with subcategories.

* `SALES_LAST_15_DAYS`

  Sales in the last 15 days.

* `SALES_LAST_30_DAYS`

  Sales in the last 30 days.

* `SALES_LAST_3_DAYS`

  Sales in the last 3 days.

* `SALES_LAST_60_DAYS`

  Sales in the last 60 days.

* `SALES_LAST_7_DAYS`

  Sales in the last 7 days.

* `SALES_LAST_90_DAYS`

  Sales in the last 90 days.

* `TAG`

  Product tag.

* `TITLE`

  Product title.

* `TYPE`

  Custom product type.

* `VARIANT_COMPARE_AT_PRICE`

  Product variant original price.

* `VARIANT_INVENTORY`

  Product inventory.

* `VARIANT_PRICE`

  Product variant selling price.

* `VARIANT_WEIGHT`

  Product variant weight.

* `VENDOR`

  Brand or manufacturer.

## Field from

* [CollectionRuleConditions](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/collection-rule-conditions.md).ruleType

* [CollectionRule](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/collection-rule.md).column

## Input field from

* [CollectionRuleInput](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/inputs/collection-rule-input.md).column

* [CollectionRuleInput](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/inputs/collection-rule-input.md).column

