name is the only field that can change: the code, discount, duration, expiry and limits are fixed once the coupon is created. To change them, create a new coupon and deactivate the old one.
Request Body
Any other field in the body is ignored. Coupons in any status except
pending can be renamed, including inactive and failed ones.
Example Request
Success Response (200)
Response Fields
Same as Create Coupon response, withoutpromotionCodes.
Errors
Retry policy: Never retry 4xx — fix the request and resubmit. Retry 5xx with exponential backoff (start 5s, max 3 attempts).