| Name | Type | Description | |
|---|
| api_key | string | Your API-key | |
| marketplace_user_id | number(optional) | marketplace_user_id | |
| user_id | number(required) | user |
|
| start | number(optional) | Start here | |
| user_type | number(optional) | 2 : for admin, 3 : for merchant | |
| lenth | number(optional) | Lenth | |
| sSearch | string(optional) | What you want to search(email or name) | |
| sortCol | number(optional) | If sort column equals to 1 then it will sort according to first name , default is by customer id | |
| sortDir | string(optional) | Default sort direction is descending. Send asc for ascending | |
| get_all_enable_product | number(optional) | 1= if enable 0 = if disable | |
| language | string | Language | |
Request
Body Params application/json
{
"api_key" : {{apikey}},
"marketplace_user_id" : 510001,
"user_type" : 1,
"user_id" : 510001,
"start" : 1,
"length" : 10,
"sSearch" : "test",
"sortCol" : "1",
"sortDir" : "1",
"get_all_enabled_products": 1,
"language" : "en"
}
Request Code Samples
curl --location --request POST 'https://api.yelo.red/open/product/getAllProducts' \
--header 'Content-Type: application/json' \
--data-raw '{
"api_key" : {{apikey}},
"marketplace_user_id" : 510001,
"user_type" : 1,
"user_id" : 510001,
"start" : 1,
"length" : 10,
"sSearch" : "test",
"sortCol" : "1",
"sortDir" : "1",
"get_all_enabled_products": 1,
"language" : "en"
}'
Responses
application/json Modified at 2024-05-31 06:50:01