Types > SearchOption
Commerce APITypesSearchOption
SearchOption

Description

Fields

boolean: Boolean

Value of the option (if boolean)


context: String

Override nesting level context (when automatic logic gives undesired results)


name: String

Name of the option

Example: "total_price"


nil: Boolean

Value is nil


now: Boolean

Value is now (rfc3339 time value, server's idea of now)


number: Float

Value of the option (if number)


op: SearchOp!

Combining or comparison operator

Example: "and"


parent_index: Int

Index of the parent option (usually "and", "or", "not"), -1 if no parent


text: String

Value of the option (if text)


zero: Boolean

Value is number zero


Preview (typescript)

Loading module