curl --request POST \
--url https://api.unibee.top/merchant/discount/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": 123
}'
{
"code": 123,
"data": {},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}
Delete discount code before activate
curl --request POST \
--url https://api.unibee.top/merchant/discount/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": 123
}'
{
"code": 123,
"data": {},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Delete discount code before activate
The response is of type object
.