Facets
Type: object
| Field | Type | Description |
|---|
count | string | number | Total matching products (drives the count and pagination).
|
vendors optional | object[] | Fields| Field | Type | Description |
|---|
vendor | string | |
count optional | string | number | |
|
types optional | object[] | Fields| Field | Type | Description |
|---|
type | string | |
count optional | string | number | |
|
tags optional | object[] | Fields| Field | Type | Description |
|---|
value | string | |
count optional | string | number | |
|
Example (illustrative)
{
"count": 12,
"vendors": [
{
"vendor": "Mercury Apparel",
"count": 12
}
],
"types": [
{
"type": "Shirts",
"count": 12
}
],
"tags": [
{
"value": "string",
"count": 12
}
]
}
Used by
Declared in api-types/src/kit-contract/v1/search-api.ts.