HomeGuidesAPI Reference
ChangelogHelp CenterCommunityContact Us
API Reference

Update Coupon Code

Updates a coupon code specified by the given identifier synchronously. We allow updating the 'status' and
'expires_at' of coupon codes.

Rate limits:
Burst: 350/s
Steady: 3500/m

Scopes:
coupon-codes:write

Path Params
string
required

The id of a coupon code is a combination of its unique code and the id of the coupon it is associated with.

Body Params
object
required
string
required
string
required

The id of a coupon code is a combination of its unique code and the id of the coupon it is associated with.

object
required
string

The API status of our coupon codes.

date-time

The datetime when this coupon code will expire. If not specified or set to null, it will be automatically set to 1 year.

Headers
string
required
Defaults to 2025-01-15

API endpoint revision (format: YYYY-MM-DD[.suffix])

Responses

Language
Credentials