Create promo code
Create a distribution code for an existing Offer with one or more sequential discount phases. The code owns redemption 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.
Body
11weekly, monthly, quarterly, semiannual, yearly, one_time x <= 9007199254740991Whether the code only applies to a customer's first purchase: one with no paid invoice above zero and no paid subscription. Defaults to false.
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"