2019-01-01 - SearchResult variant product sample input request
Jump to navigation
Jump to search
{
"Records": [
{
"body": {
"search_type": "variant_product",
"browse_quantity": 50,
"code_language": "en",
"required_data": {
"product": [
"quantity_available",
"max_price",
"min_price",
"converted_max_price",
"converted_min_price",
"main_image",
"variant_ids"
],
"product_attribute": [
"attribute_id",
"attribute_name"
]
},
"filter_type": "variant",
"type": "group",
"elements": [
{
"type": "logical",
"sub_type": "filter_service",
"service_tag": "variant_id",
"comparison": "greater-than",
"value": 2
},
{
"type": "logical_operator",
"operator": "and"
},
{
"type": "complex_filter",
"complex_filter": {
"filter_type": "product",
"type": "group",
"elements": [
{
"type": "logical",
"sub_type": "filter_service",
"service_tag": "product_id",
"comparison": "greater-than",
"value": 4
},
{
"type": "logical_operator",
"operator": "or"
},
{
"sub_type": "selloffer",
"type": "complex_filter",
"location_tree_area_node_id": 13,
"complex_filter": {
"filter_type": "selloffer",
"type": "group",
"elements": [
{
"type": "logical",
"sub_type": "filter_service",
"service_tag": "selloffer_id",
"comparison": "greater-than",
"value": 10
},
{
"type": "logical_operator",
"operator": "or"
},
{
"type": "logical",
"sub_type": "filter_service",
"service_tag": "selloffer_id",
"comparison": "less-than",
"value": 3
}
]
}
}
]
}
}
]
}
}
]
}