search
关于店面搜索查询的信息。
要了解店面搜索及如何在主题中使用它,请参阅店面搜索。
| Properties | Type | Description |
|---|---|---|
performed | boolean | 若搜索成功执行,则返回 true;否则返回 false。 |
results | 搜索结果项目,包含商品列表和商品数量。 | |
results_count | number | 结果数量。 |
terms | string | 输入的搜索词。 |
types | an array of string | 执行搜索的 object 类型。 |
{
"performed": true,
"types": [
"product"
],
"terms": "1",
"results_count": 76,
"results": {
"products": [],
"products_count": 76
}
}