POST
/
merchant
/
discount
/
deactivate
curl --request POST \
  --url https://api.unibee.top/merchant/discount/deactivate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 123
}'
{
  "code": 123,
  "data": {},
  "message": "<string>",
  "redirect": "<string>",
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Deactivate discount code

id
integer
required

The discount's Id

Response

200 - application/json
code
integer
data
object
message
string
redirect
string
requestId
string