JavaScript
Coupons
Update a coupon
Updates an existing coupon’s properties such as name, description, and metadata.
PATCH
JavaScript
Authorizations
Server API Key
Headers
Account ID — optional when authenticating with a user JWT (Bearer token); falls back to the user's first membership. Ignored for API-key auth.
Environment ID — required when authenticating with a user JWT (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the key).
Path Parameters
The unique identifier of the entity
Required string length:
1 - 255Body
application/json
Response
The updated coupon object.
Response object
Discount instrument with percentage or fixed amount
