This API will get all orders.#
Name | Type | Description |
---|
api_key | string | Your API-key |
user_id | number(optional) | Your userid |
marketplace_user_id | number(required) | Your marketplace user id |
order_status | number | |
sortCol
| number
| If sort column equals to 1 then it will sort according to order Id , if it is equals to 3 then it will sort according to job delivery datetime
|
sortDir
| any
| Sort direction is descending
|
start
| number
| Start here (pagination columns)
|
length
| number
| Length (pagination columns)
|
start_date
| string
| Start date for filtering results
|
end_date
| string
| End date for filtering results.
|
Request
Body Params application/json
{
"api_key" : {{apikey}} ,
"user_id" : 569866 ,
"marketplace_user_id" : 25632 ,
"order_status" : 13 ,
"sortCol" : 3 ,
"sortDir" : "desc" ,
"start" : 2 ,
"length" : 100 ,
"start_date" : "2021-05-06T15:54:00Z" ,
"end_date" : "2021-04-06T15:54:00Z"
}
Request Code Samples
curl --location --request POST 'https://api.yelo.red/open/orders/getAll' \
--header 'Content-Type: application/json' \
--data-raw '{
"api_key" : {{apikey}} ,
"user_id" : 569866 ,
"marketplace_user_id" : 25632 ,
"order_status" : 13 ,
"sortCol" : 3 ,
"sortDir" : "desc" ,
"start" : 2 ,
"length" : 100 ,
"start_date" : "2021-05-06T15:54:00Z" ,
"end_date" : "2021-04-06T15:54:00Z"
}'
Responses
application/json Modified at 2024-04-17 07:11:33