OfferVersion: v3New
Create Offer
POST/courses/offers
Create a membership offer. Requires a Location token with courses.write. Send Version: v3. Returns the full offer. source is always membership. locationId, userId, originId, and addProductToMembers are not accepted. Non-free type still requires payment integrations upstream.
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
courses. writeAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Example:
v3Query Parameters
locationIdstringrequired
Location id or sub-account id is required.
Possible values: non-empty
Example:
ve9EPM428h8vShlRW1KTBody
descriptionstringnullable
typestring
Available options
freeonetimesubscriptionamountnumber
currencystring
Example:
USDpriceDisplayOverridestringnullable
isLivePaymentModeboolean
intervalstring
Available options
weekmonthyeardayintervalCountnumber
trialDaysnumber
setupFeenumber
numberOfPaymentsnumber
visibilitystring
Available options
publisheddraftaccessDatestringnullable
daysOfAccessnumbernullable
customJsstringnullable
customCssstringnullable
customHeaderstringnullable
customFooterstringnullable
couponsstring[]
posterImagestringnullable
titlestringrequired
Example:
Founding membersproductIdsstring[]required
Product ids included in this offer
Example:
["a1b2c3d4-e5f6-7890-abcd-ef1234567890"]Response
Created
idstringrequired
Example:
c3d4e5f6-7890-4123-cdef-123456789012titlestringrequired
Example:
Founding membersdescriptionstringnullablerequired
typestringrequired
Available options
freeonetimesubscriptionsourcestringrequired
Example:
membershipamountnumbernullablerequired
currencystringnullablerequired
priceDisplayOverridestringnullablerequired
isLivePaymentModebooleannullablerequired
intervalstringnullablerequired
Available options
weekmonthyeardayintervalCountnumbernullablerequired
trialDaysnumbernullablerequired
setupFeenumbernullablerequired
numberOfPaymentsnumbernullablerequired
visibilitystringrequired
Available options
publisheddraftaccessDatestringnullablerequired
daysOfAccessnumbernullablerequired
customJsstringnullablerequired
customCssstringnullablerequired
customHeaderstringnullablerequired
customFooterstringnullablerequired
couponsobject[]nullablerequired
posterImagestringnullablerequired
paymentProductIdstringnullablerequired
Read-only Payments catalog id generated by membership
paymentPriceIdstringnullablerequired
Read-only Payments price id generated by membership
productsobject[]required
createdAtstringrequired
updatedAtstringrequired