Запросите URL-адрес в формате ниже.
Код: Выделить всё
/rest/all/V1/search?searchCriteria[requestName]=quick_search_container&searchCriteria[filterGroups][0][filters][0][field]=search_term&searchCriteria[filterGroups][0][filters][0][value]=Life
Ответ, как показано ниже
Код: Выделить всё
{
"items": [],
"aggregations": {
"buckets": [
{
"name": "category_bucket",
"values": []
},
{
"name": "color_bucket",
"values": []
},
{
"name": "material_bucket",
"values": []
},
{
"name": "size_bucket",
"values": []
}
],
"bucket_names": [
"category_bucket",
"color_bucket",
"material_bucket",
"size_bucket"
]
},
"search_criteria": {
"request_name": "quick_search_container",
"filter_groups": [
{
"filters": [
{
"field": "search_term",
"value": "Life",
"condition_type": "eq"
}
]
}
]
},
"total_count": 0
}
Подробнее здесь: https://stackoverflow.com/questions/672 ... -any-items