BusinessRuleAttributeExpressionInput
Input for a condition on an attribute, matched by attribute name and value.
Send 'string' for text and enum attributes and 'number' for integer and decimal attributes. The value is compared against whichever value the attribute stores, so no value type has to be chosen.
input BusinessRuleAttributeExpressionInput {
attributeName: String!
language: String
operator: BusinessRuleAttributeExpressionOperators!
string: String
number: Float
path: String
}
Fields
BusinessRuleAttributeExpressionInput.attributeName ● String! non-null scalar
Name of the attribute to match, for example 'LOAD_INDEX'. Must not contain a double quote
BusinessRuleAttributeExpressionInput.language ● String scalar
Language of the text values to compare, for example 'NL'. Only allowed with 'string'; omit it to compare text values in every language
BusinessRuleAttributeExpressionInput.operator ● BusinessRuleAttributeExpressionOperators! non-null enum
How the attribute's values are compared. contains and existsInArray need 'string'; lowerThan, greaterThan, lowerThanOrEqualTo and greaterThanOrEqualTo need 'number'; equals and notEquals take either
BusinessRuleAttributeExpressionInput.string ● String scalar
Text value to compare against text and enum values. For 'existsInArray', a comma-separated list of values. Must not be empty or contain a double quote
BusinessRuleAttributeExpressionInput.number ● Float scalar
Numeric value to compare against integer and decimal values
BusinessRuleAttributeExpressionInput.path ● String scalar
Attribute collection to compare: '#.attributes.items' (the order item's product attributes, inside the order items condition), 'order.user.attributes.items' or 'order.company.attributes.items'. Leave it out (or send '' or '$') to use the column's value, which only a user or company attributes column has. At the top level of a cell it cannot be '#.attributes.items': # is only bound inside a complex expression.