Discounts
Update a coupon (what it takes off is immutable)
Needs the catalog:write scope, or a full-access key. About scopes
PATCH
/
api/v1/coupons/{id}Authorization
AuthorizationRequiredBearer <token>
An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).
In: header
Request Body
application/jsonOptionalnamestring
Minimum length:
1Maximum length: 100max_redemptionsinteger | null
redeem_bystring | null
Format:
"date-time"activeboolean
Path Parameters
idRequiredstring
Format:
"uuid"The coupon.