CollectionRuleConditions

Version 2019-04

Collections may use rules to automatically include the matching products. This defines restrictions for a type of rule.

Required access

read_products access scope

Show definition
"""
Collections may use rules to automatically include the matching products. This defines restrictions for a type of rule.
"""
type CollectionRuleConditions {
  """
  Allowed relations of the rule.
  """
  allowedRelations: [CollectionRuleRelation!]!
  """
  Most commonly used relation for this rule.
  """
  defaultRelation: CollectionRuleRelation!
  """
  Type of the rule.
  """
  ruleType: CollectionRuleColumn!
}

Fields

allowedRelations ([CollectionRuleRelation!]!)

Allowed relations of the rule.

defaultRelation (CollectionRuleRelation!)

Most commonly used relation for this rule.

ruleType (CollectionRuleColumn!)

Type of the rule.

Version 2019-07 (Latest)

Collections may use rules to automatically include the matching products. This defines restrictions for a type of rule.

Required access

read_products access scope

Show definition
"""
Collections may use rules to automatically include the matching products. This defines restrictions for a type of rule.
"""
type CollectionRuleConditions {
  """
  Allowed relations of the rule.
  """
  allowedRelations: [CollectionRuleRelation!]!
  """
  Most commonly used relation for this rule.
  """
  defaultRelation: CollectionRuleRelation!
  """
  Type of the rule.
  """
  ruleType: CollectionRuleColumn!
}

Fields

allowedRelations ([CollectionRuleRelation!]!)

Allowed relations of the rule.

defaultRelation (CollectionRuleRelation!)

Most commonly used relation for this rule.

ruleType (CollectionRuleColumn!)

Type of the rule.

Version 2019-10 (Release candidate)

Collections may use rules to automatically include the matching products. This defines restrictions for a type of rule.

Required access

read_products access scope

Show definition
"""
Collections may use rules to automatically include the matching products. This defines restrictions for a type of rule.
"""
type CollectionRuleConditions {
  """
  Allowed relations of the rule.
  """
  allowedRelations: [CollectionRuleRelation!]!
  """
  Most commonly used relation for this rule.
  """
  defaultRelation: CollectionRuleRelation!
  """
  Type of the rule.
  """
  ruleType: CollectionRuleColumn!
}

Fields

allowedRelations ([CollectionRuleRelation!]!)

Allowed relations of the rule.

defaultRelation (CollectionRuleRelation!)

Most commonly used relation for this rule.

ruleType (CollectionRuleColumn!)

Type of the rule.

Sign up for a Partner account to get started.

Sign up