API Docs
Search…
Get Search Config
Get Search Config
Get the all search information.

End Point

get
https://api.cartup.ai/v1/conf/search

Curl example

1
curl --request GET https://api.cartup.ai/v1/conf/search?request={"orgId":"850a8b8f-a6fe-49e4-88fc-874843279d66"}'
2
--header 'Accept: application/json' \
3
--header 'Content-Type: application/json' \
4
--header 'X-Cartup-Access-Token: $CARTUP_API_KEY'
5
--header 'X-Cartup-orgId : $CARTUP_ORD_ID'
Copied!

‌Request Object

Key
Type
Description
Required
orgId
String
Your Org ID
Yes

Request samples

1
{
2
"errMsg": null,
3
"id": "fa673540-57ba-4e02-8c16-28ee0513ae38-searchconf",
4
"orgId": "test-fa673540-57ba-4e02-8c16-28ee0513ae38",
5
"docType": "searchconf",
6
"spellcheck": true,
7
"includeWidgets": [
8
"crosssell",
9
"recentviews"
10
],
11
"facetList": [
12
{
13
"facets": [
14
{
15
"displayType": "link",
16
"type": "price",
17
"repoFieldName": "price_d",
18
"displayName": "Price",
19
"value": [
20
{
21
"index": 0,
22
"alias": null,
23
"name": "0 - 20",
24
"value": "[0 TO 20]"
25
},
26
{
27
"index": 1,
28
"alias": null,
29
"name": "20 - 60",
30
"value": "[21 TO 60]"
31
},
32
{
33
"index": 2,
34
"alias": null,
35
"name": "60 - 100",
36
"value": "[61 TO 100]"
37
},
38
{
39
"index": 3,
40
"alias": null,
41
"name": "101 - *",
42
"value": "[101 TO 100]"
43
}
44
],
45
"operator": "="
46
}
47
],
48
"category": "default"
49
},
50
{
51
"facets": [
52
{
53
"displayType": "link",
54
"type": "Gender",
55
"repoFieldName": "gender_ss",
56
"displayName": "Gender",
57
"value": null,
58
"operator": "="
59
}
60
],
61
"category": "Tops"
62
},
63
{
64
"facets": [
65
{
66
"displayType": "link",
67
"type": "color",
68
"repoFieldName": "color_s",
69
"displayName": "Color",
70
"value": null,
71
"operator": null
72
},
73
{
74
"displayType": "link",
75
"type": "size",
76
"repoFieldName": "pant_fit_s",
77
"displayName": "Pant Fit",
78
"value": null,
79
"operator": null
80
}
81
],
82
"category": "cloth"
83
}
84
],
85
"paginationCount": 20,
86
"searchableFields": [
87
{
88
"repoFieldName": "namel_t",
89
"displayName": "name",
90
"order": 0,
91
"orderBy": null
92
},
93
{
94
"repoFieldName": "description_t",
95
"displayName": "description",
96
"order": 1,
97
"orderBy": null
98
}
99
],
100
"searchSynonym": null,
101
"sortEntity": {
102
"sortEntities": [
103
{
104
"key": "Price High to Low",
105
"value": "price desc",
106
"type": "integer"
107
}
108
]
109
},
110
"indexLang": "en",
111
"queryLang": "en",
112
"personalization": true,
113
"reranking": true,
114
"synonym": true,
115
"stopWords": true
116
}
Copied!
Last modified 1mo ago
Copy link
Contents
get