PUT
/
coupons
/
{id}
/
toggle
curl -X PUT \
 /coupons/{id}/toggle \
 --header "Content-Type: application/json" \
 --header "Authorization: Bearer <token>" \
 --data '{
    "isEnabled": "1"
}'
This response has no body data.

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Path Parameters

id
string
required

Coupon identifier

Body

The updated Coupon resource