Name |
Type |
Description |
|
api_key |
string |
Your API-key |
|
access_user_type |
number(optional) |
2 : for admin, 3 : for merchant |
|
job_id |
number |
job id |
|
refunded_amount |
number(optional) |
Amount to be refunded |
|
user_id |
number |
user id |
|
marketplace_user_id |
number |
marketplace user id |
|
product_id |
number(optional) |
product id |
|
accept_reject |
number |
If you want to accept order enter 1 else 0. |
|
Request
Body Params application/json
{
"api_key" : {{apikey}},
"access_user_type" : 3,
"job_id" : 125,
"refunded_amount" : 20,
"user_id" : 510001,
"marketplace_user_id": 510001,
"product_id" : 123,
"accept_reject" : 1
}
Request Code Samples
curl --location --request POST 'https://api.yelo.red/open/task/acceptReject' \
--header 'Content-Type: application/json' \
--data-raw '{
"api_key" : {{apikey}},
"access_user_type" : 3,
"job_id" : 125,
"refunded_amount" : 20,
"user_id" : 510001,
"marketplace_user_id": 510001,
"product_id" : 123,
"accept_reject" : 1
}'
Responses
application/json Modified at 2024-04-17 07:11:33