INPUT_OBJECT

CatalogRuleInput

link GraphQL Schema definition

  • input CatalogRuleInput {
  • # The product attribute to validate against
  • key: CatalogRulesKeyEnum!
  • # The operator used to validate the product attribute with
  • operator: CatalogRulesOperatorEnum!
  • # The value the operator is compared against. Do not supply for the `is present`
  • # operator.
  • value: String
  • # The values the operator is compared against. Do not supply for the `present`,
  • # `blank`, and `unique` operators.
  • values: [String!]
  • # The name for the set of values displayed in the error message
  • valuesSetName: String
  • # The error message returned when a product fails catalog rule validation
  • errorMessage: String!
  • }