Name | Type | Description | |
---|---|---|---|
marketplace_user_id | string(optional) | marketplace user id | |
search_text | string | search text | |
latitude | number(optional) | latitude | |
longitude | number(optional) | longitude | |
date_time | string(optional) | date time | |
app_type | string(optional) | "IOS", "ANDROID", "WEB" | |
api_key | string | you api key | |
self_pickup | number(optional) | self pickup 0 if not 1 if yes | |
domain_name | string(optional) | domain name | |
dual_user_key | number(optional) | dual user key | |
language | string(optional) | language |
curl --location --request POST 'https://api.yelo.red/open/search/global/product' \
--header 'sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="98", "Google Chrome";v="98"' \
--header 'Accept: application/json, text/plain, */*' \
--header 'Referer: https://internal-betaweb.yelo.red/en/search' \
--header 'sec-ch-ua-mobile: ?0' \
--header 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36' \
--header 'sec-ch-ua-platform: "Windows"' \
--header 'Content-Type: text/plain' \
--data-raw '{
"marketplace_user_id" : 1025779,
"search_text" : "pizz",
"latitude" : 30.7187849,
"longitude" : 76.8103741,
"date_time" : "2022-02-28T09:04:10.410Z",
"app_type" : "WEB",
"api_key" : {{apikey}},
"self_pickup" : 0,
"domain_name" : "api.red",
"dual_user_key" : 0,
"language" : "en"
}'
{}