patch https://api.smartpay.co/v1/coupons/
Errors
In addition to the [Errors](ref:errors) applicable to all API endpoints, the following errors are specific to updating a coupon:
status code | error code | description |
---|---|---|
404 | coupon.not-found | No coupon was found meeting the requirements. Make sure to use the right couponId and API key. Objects in test mode can only be accessed using test keys and objects in live mode with live keys. |