filter query parameters. The syntax for these filters
is described below.
Basic Syntax (Equals)
The most basic filter is of the formkey:value where key is the name of the field to filter by and value
is a literal string or integer. This basic filter applies the logic “where equals ''”.
Multiple filters can be specified in which case they are combined with a logical
AND operation.
This basic syntax can be mixed with the advanced syntax described below.
Advanced Syntax
The advanced syntax is of the formkey<json> where key is the field name and <json> is a valid JSON5 encoded
object or array of objects. These objects can define a broad variety of conditions defined further below.
There is no
: between the key and the <json>!AND Logic
Multiple conditions can be applied withAND logic for the same key by specifying multiple keys in the same JSON5 object.
OR Logic
Multiple conditions can be applied withOR logic for the same key by specifying an array of objects.
Combined AND and OR logic
BothAND and OR logic can be used in the same filter.
Multiple filters with advanced and simple syntax mixed
?filter=goods_type:NORMAL&filter=name[{start:"Box of"},{end:"CASE"}]&filter=id{gt:15}
Conditions
The following keys may be used within the JSON5 object to apply the described conditions.String values must be
"double-quoted" or 'single-quoted'.