Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

input_object

The input fields for a rule to associate with a collection.

•

The attribute that the rule focuses on. For example, title or product_type.

•
String!non-null

The value that the operator is applied to. For example, Hats.

•

The object ID that points to additional attributes for the collection rule. This is only required when using metafield definition rules.

•

The type of operator that the rule is based on. For example, equals, contains, or not_equals.


Was this section helpful?

Anchor to Input objects using this inputInput objects using this input

•
INPUT OBJECT

The rules used to assign products to the collection.


Was this section helpful?