Update promo code
Update a promo code’s billing interval, redemption limits, expiration, active status, or plan restrictions.
Authorizations
Headers
Unique key used to safely retry this write for 24 hours without applying it twice.
1 - 200API version used by this reference. Send this header to select this contract explicitly.
Path Parameters
Body
weekly, monthly, quarterly, semiannual, yearly, one_time 0 < x <= 9007199254740991Whether the code only applies to a customer's first purchase: one with no paid invoice above zero and no paid subscription.
Response
Success
weekly, monthly, quarterly, semiannual, yearly, one_time -9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991Whether the code only applies to a customer's first purchase: one with no paid invoice above zero and no paid subscription.
Integration that manages this record, or null when the merchant does. While an integration manages it, its terms change only in that integration and edits answer 409 managed_by_integration.
dub "promo_code"