CollectionRuleSet

Version 2019-04

The set of rules that are used to determine which products are included in the collection.

Required access

read_products access scope

Show definition
"""
The set of rules that are used to determine which products are included in the collection.
"""
type CollectionRuleSet {
  """
  Whether products must match any or all of the rules to be included in the collection.
  If true, then products must match one or more of the rules to be included in the collection.
  If false, then products must match all of the rules to be included in the collection.
  """
  appliedDisjunctively: Boolean!
  """
  The rules used to assign products to the collection.
  """
  rules: [CollectionRule!]!
}

Fields

appliedDisjunctively (Boolean!)

Whether products must match any or all of the rules to be included in the collection. If true, then products must match one or more of the rules to be included in the collection. If false, then products must match all of the rules to be included in the collection.

rules ([CollectionRule!]!)

The rules used to assign products to the collection.

Version 2019-07 (Latest)

The set of rules that are used to determine which products are included in the collection.

Required access

read_products access scope

Show definition
"""
The set of rules that are used to determine which products are included in the collection.
"""
type CollectionRuleSet {
  """
  Whether products must match any or all of the rules to be included in the collection.
  If true, then products must match one or more of the rules to be included in the collection.
  If false, then products must match all of the rules to be included in the collection.
  """
  appliedDisjunctively: Boolean!
  """
  The rules used to assign products to the collection.
  """
  rules: [CollectionRule!]!
}

Fields

appliedDisjunctively (Boolean!)

Whether products must match any or all of the rules to be included in the collection. If true, then products must match one or more of the rules to be included in the collection. If false, then products must match all of the rules to be included in the collection.

rules ([CollectionRule!]!)

The rules used to assign products to the collection.

Version 2019-10 (Release candidate)

The set of rules that are used to determine which products are included in the collection.

Required access

read_products access scope

Show definition
"""
The set of rules that are used to determine which products are included in the collection.
"""
type CollectionRuleSet {
  """
  Whether products must match any or all of the rules to be included in the collection.
  If true, then products must match one or more of the rules to be included in the collection.
  If false, then products must match all of the rules to be included in the collection.
  """
  appliedDisjunctively: Boolean!
  """
  The rules used to assign products to the collection.
  """
  rules: [CollectionRule!]!
}

Fields

appliedDisjunctively (Boolean!)

Whether products must match any or all of the rules to be included in the collection. If true, then products must match one or more of the rules to be included in the collection. If false, then products must match all of the rules to be included in the collection.

rules ([CollectionRule!]!)

The rules used to assign products to the collection.

Sign up for a Partner account to get started.

Sign up