Skip to main content
PATCH
Update a promo code

Authorizations

Authorization
string
header
required

Paste your secret key as the bearer token: sk_test_… (test) or sk_live_… (live). That is all a normal API call needs. OAuth access tokens from POST /v1/oauth/token also work, but a client id/secret is only for platforms acting on another tenant's behalf, not for your own integration.

Path Parameters

id
string
required

Body

application/json
active
boolean
maxRedemptions
integer | null
expiresAt
string<date-time> | null

Response

200 - application/json

OK

id
string
code
string
discountType
string
discountValue
integer
duration
string
redeemedCount
integer
remaining
integer | null
active
boolean
expiresAt
string | null
createdAt
string