-
Notifications
You must be signed in to change notification settings - Fork 0
/
see-all-product.json
97 lines (97 loc) · 3.06 KB
/
see-all-product.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"success": true,
"message": "",
"data": [
{
"id": 593,
"slug": "header",
"title": "See All Best Sellers",
"fetch_url": "",
"endpoint": "",
"mixpanel_type": "",
"sub_type": "grid",
"sub_title": "",
"is_see_all_shown": false,
"is_sortable": 1,
"type": "header",
"sortable_status": 1,
"items": {
"title": "See All Best Sellers"
}
},
{
"id": 594,
"slug": "pagination",
"title": "",
"fetch_url": "https://secure.savyour.com.pk/v6/list/products/best_seller?sort=top_selling",
"endpoint": "",
"mixpanel_type": "",
"sub_type": "grid",
"sub_title": "",
"is_see_all_shown": false,
"is_sortable": 1,
"type": "pagination_product",
"sortable_status": 2,
"items": [],
"filters": [
{
"name": "Brands",
"query_param_keys": [
"brand_ids"
],
"key": "brand_ids",
"type": "brand",
"sub_type": "pill",
"fetch_url": "https://secure.savyour.com.pk/v6/products/filters?filters[]=brands"
},
{
"name": "Price Range",
"query_param_keys": [
"min_price",
"max_price"
],
"key": "price_range",
"type": "product",
"sub_type": "range_slider"
},
{
"name": "Categories",
"query_param_keys": [
"category_ids"
],
"key": "category_ids",
"type": "category",
"sub_type": "pill",
"fetch_url": "https://secure.savyour.com.pk/v6/products/filters?filters[]=categories&filter_type=products"
}
],
"sort": [
{
"name": "Featured",
"key": "top_selling",
"is_selected": true
},
{
"name": "Product name (A-Z)",
"key": "name_asc",
"is_selected": false
},
{
"name": "Product name (Z-A)",
"key": "name_desc",
"is_selected": false
},
{
"name": "Price (high to low)",
"key": "price_desc",
"is_selected": false
},
{
"name": "Price (low to high)",
"key": "price_asc",
"is_selected": false
}
]
}
]
}