PlutocracyMercury developer docs

FilterOperator

A single filter operator. Sent to the server as a JSON-stringified array in the query query-string parameter and echoed back verbatim under the query key of rendered search/collection responses.

Known type values in the codebase: tag, vendor, type, price, sale, inventory, title, id, total_stock.

Type: object

FieldTypeDescription
typestring
condition optionalstring

e.g. equals, more_than, less_than, between, contains, doesNotContains

value optionalany
Example (illustrative)
{
  "type": "Shirts",
  "condition": "string",
  "value": null
}

Used by

Declared in api-types/src/storefront/models.ts.