Build an offering
POST/subscriptions/offerings/build
An offering includes plans and pricing options; plans are combined with one or more pricing options to form an offering. An offering can include either:
- subscription plans (created within an offering).
- Product Experience Manager products. See create a product.
When you are building an offering:
- you can create new pricing options and plans.
- you can modify an existing plan and pricing options. For example, you can modify the plan price or any attributes of a pricing option included in the offering.
Here's how you build an offering:
-
Specify the plan to build with the offering. A plan can be:
- subscription plans. Specify the subscription plan attributes.
- Product Experience Manager products. Specify the Product Experience Manager product ID in
external_ref
inPlanAttributes
. For the remaining plan attributes, you can specify their values to match the values of the existing Product Experience Manager product attributes. However, you can also specify different values, depending on your requirements.
-
Specify the pricing options to build with the offering. Pricing options are the rules that govern your subscription, for example, any discount. You can combine and reuse pricing options for as many plans as you want, making it quick and easy to create your subscription offerings. An offering must have at least one pricing option.
Request
Responses
- 201
- 400
- 500
Success. The new subscription offering is created with the specified subscription plans and pricing options attached to the offering.
Bad request. The request failed validation.
Internal server error. There was a system failure in the platform.