Basics: Operators

Operators

Depending on the field or data type, you can use a variety of operators to create your condition expressions. Learn more about how each operator behaves for different types.

Operators Types
is equal to String Boolean Integer Float
Date Relative Date Weight Weight (grams)
Metafield HTML Enum (Fixed) Enum (Custom)
Price ID
is not equal to String Boolean Integer Float
Date Relative Date Weight Weight (grams)
Metafield HTML Enum (Fixed) Enum (Custom)
Price ID
starts with String Metafield HTML
ends with String Metafield HTML
contains String Metafield HTML
matches String Metafield HTML
does not start with String Metafield HTML
does not end with String Metafield HTML
does not contain String Metafield HTML
does not match String Metafield HTML
is greater than Integer Float Weight Weight (grams)
Metafield Price ID
is greater than or equal Integer Float Weight Weight (grams)
Metafield Price ID
is lesser than Integer Float Weight Weight (grams)
Metafield Price ID
is lesser than or equal Integer Float Weight Weight (grams)
Metafield Price ID
is within Integer Float Date Relative Date
Weight Weight (grams) Metafield Price
ID
is not within Integer Float Date Relative Date
Weight Weight (grams) Metafield Price
ID
is before Date Relative Date
is before or on Date Relative Date
is after Date Relative Date
is after or on Date Relative Date