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
| Field | Type | Description |
|---|---|---|
type | string | |
condition optional | string | e.g. |
value optional | any |
Example (illustrative)
{
"type": "Shirts",
"condition": "string",
"value": null
}Used by
Declared in api-types/src/storefront/models.ts.