post
/2.1/product/update_coupon
Update an existing coupon in your account
There are 2 main ways to select which coupon(s) you want to update:
- Updating a single coupon code? Specify coupon_code.
- Updating a group of coupons? Specify their unique group name.
You can then apply any changes you wish, for example:
- Rename the coupon name (note: if you have already distributed the coupon code to your customers, it’s best not to rename it anymore)
- Extend the expiry date to keep a successful promotion going
- Update the discount amount because you changed your mind
- Make a new product eligible with the coupons
Request Body
Form data (application/x-www-form-urlencoded)
Responses
1 Example
Schema
object
or
object
An unsuccessful call to the Dashboard API will return a 200 response containing a field success
set to false
and an error object.
Send a Test Request
POST
Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.