Name | Type | Description | |
---|
api_key | string | Your API-key | |
add_on_discount | number | Add On Discount | |
description | number(optional) | Discount Description |
|
end_date | string | Discount End Date | |
marketplace_user_id | number(optional) | Marketplace User Id | |
name | string(optional) | Discount Name | |
start_date | string | Discount Start Date | |
user_id | number(optional) | User Id | |
user_type | number(optional) | User Type | |
value | object(optional) | Discont Value | |
| | | |
Request
Body Params application/json
{
"api_key":{{api key}},
"add_on_discount": 0,
"description": "gwgw",
"end_date": "2022-03-24T08:32:55.000Z",
"marketplace_user_id": 10995407,
"name": "gherger",
"start_date": "2022-03-21T07:33:52.083Z",
"user_id": 10995407,
"user_type": 2,
"value": 20
}
Request samples
curl --location --request POST 'https://api.yelo.red/open/merchant/discount/add' \
--header 'Content-Type: application/json' \
--data-raw '{
"api_key":{{api key}},
"add_on_discount": 0,
"description": "gwgw",
"end_date": "2022-03-24T08:32:55.000Z",
"marketplace_user_id": 10995407,
"name": "gherger",
"start_date": "2022-03-21T07:33:52.083Z",
"user_id": 10995407,
"user_type": 2,
"value": 20
}'
Responses
application/json Modified at 2024-04-17 07:11:33