Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
Attention! parameters must be passed in the request body, not as query or path parameters
{
"token": "test coupon 10%"
}
{
"id": 1,
"percent_off": 10.0
}
| Param name | Description |
|---|---|
|
token
required |
name of coupon Validations:
|