Skip to main content
Version: 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.

Request​

Version stringrequired

API Version

Available optionsv3
locationId stringrequired

Location id or sub-account id is required.

Possible values: non-empty

application/json

Bodyrequired

    descriptionstringnullable
    typestring
    Available optionsfreeonetimesubscription
    amountnumber
    currencystring
    priceDisplayOverridestringnullable
    isLivePaymentModeboolean
    intervalstring
    Available optionsweekmonthyearday
    intervalCountnumber
    trialDaysnumber
    setupFeenumber
    numberOfPaymentsnumber
    visibilitystring
    Available optionspublisheddraft
    accessDatestringnullable
    daysOfAccessnumbernullable
    customJsstringnullable
    customCssstringnullable
    customHeaderstringnullable
    customFooterstringnullable
    couponsstring[]
    posterImagestringnullable
    titlestringrequired
    productIdsstring[]required

    Product ids included in this offer

application/json

Created

Schema
    idstringrequired
    titlestringrequired
    descriptionstringnullablerequired
    typestringrequired
    Available optionsfreeonetimesubscription
    sourcestringrequired
    amountnumbernullablerequired
    currencystringnullablerequired
    priceDisplayOverridestringnullablerequired
    isLivePaymentModebooleannullablerequired
    intervalstringnullablerequired
    Available optionsweekmonthyearday
    intervalCountnumbernullablerequired
    trialDaysnumbernullablerequired
    setupFeenumbernullablerequired
    numberOfPaymentsnumbernullablerequired
    visibilitystringrequired
    Available optionspublisheddraft
    accessDatestringnullablerequired
    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