Publish a draft plan version
Publishes the current draft version, making it the active version.
Path parameters
Plan ID
Response
Plan published
Example response
{
"entitlements": [
{
"feature_id": "feat_7n42DGM5Tflk9n8mt7Fhc7",
"id": "ent_7n42DGM5Tflk9n8mt7Fhc7"
}
],
"id": "plan_7n42DGM5Tflk9n8mt7Fhc7",
"price_components": [
{
"fee": {
"metric_id": "bm_7n42DGM5Tflk9n8mt7Fhc7"
},
"id": "price_7n42DGM5Tflk9n8mt7Fhc7",
"product_id": "prd_7n42DGM5Tflk9n8mt7Fhc7"
}
],
"product_family": {
"id": "pf_7n42DGM5Tflk9n8mt7Fhc7"
},
"trial": {
"trialing_plan_id": "plan_7n42DGM5Tflk9n8mt7Fhc7"
},
"version_id": "plv_7n42DGM5Tflk9n8mt7Fhc7"
}Changes
Changed in 8 of the 54 revisions of this API.1147
- ▲
the response property
price_components/items/fee/oneOf[Fee]/oneOf[UsagePlanFee]/pricing/oneOf[TieredPlanPricing]/tiers/items/flat_capbecame nullable for the status200response-property-became-nullable
- ▲
the response property
price_components/items/fee/oneOf[Fee]/oneOf[UsagePlanFee]/pricing/oneOf[TieredPlanPricing]/tiers/items/flat_feebecame nullable for the status200response-property-became-nullable
- ▲
the response property
price_components/items/fee/oneOf[Fee]/oneOf[UsagePlanFee]/pricing/oneOf[VolumePlanPricing]/tiers/items/flat_capbecame nullable for the status200response-property-became-nullable
- ▲
the response property
price_components/items/fee/oneOf[Fee]/oneOf[UsagePlanFee]/pricing/oneOf[VolumePlanPricing]/tiers/items/flat_feebecame nullable for the status200response-property-became-nullable
- ▲
the response property
price_components/items/fee/oneOf[Fee]/oneOf[UsagePlanFee]/pricing/oneOf[TieredPlanPricing]/tiers/items/flat_capbecame optional for the status200response-property-became-optional
- ▲
the response property
price_components/items/fee/oneOf[Fee]/oneOf[UsagePlanFee]/pricing/oneOf[TieredPlanPricing]/tiers/items/flat_feebecame optional for the status200response-property-became-optional
- ▲
the response property
price_components/items/fee/oneOf[Fee]/oneOf[UsagePlanFee]/pricing/oneOf[VolumePlanPricing]/tiers/items/flat_capbecame optional for the status200response-property-became-optional
- ▲
the response property
price_components/items/fee/oneOf[Fee]/oneOf[UsagePlanFee]/pricing/oneOf[VolumePlanPricing]/tiers/items/flat_feebecame optional for the status200response-property-became-optional
- ▲
- ▲
removed the required property
entitlements/items/value/oneOf[MeteredEntitlementValue]/overage_behaviorfrom the response with the200statusresponse-required-property-removed
- ●
removed the optional property
entitlements/items/value/oneOf[MeteredEntitlementValue]/warning_threshold_pctfrom the response with the200statusresponse-optional-property-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
added
BooleanEntitlementValueMeteredEntitlementValueto theentitlements/items/valueresponse propertyoneOflist for the response status200response-property-one-of-added
- ○
added discriminator to
entitlements/items/valueresponse property for the response status200response-property-discriminator-added
- ○
removed
subschema #1subschema #2from theentitlements/items/valueresponse propertyoneOflist for the response status200response-property-one-of-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the optional property
entitlementsto the response with the200statusresponse-optional-property-added
- ○
- ○
response discriminator property name changed for
price_components/items/fee/oneOf[Fee]/response property fromfee_typetotypefor the response status200response-property-discriminator-property-name-changed
- ○
response discriminator property name changed for
price_components/items/fee/oneOf[Fee]/oneOf[UsagePlanFee]/pricingresponse property fromdiscriminatortotypefor the response status200response-property-discriminator-property-name-changed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
added the new
TOO_MANY_REQUESTSenum value to thecoderesponse property for the response status401response-property-enum-value-added
- ●
added the new
TOO_MANY_REQUESTSenum value to thecoderesponse property for the response status404response-property-enum-value-added
- ●
added the new
TOO_MANY_REQUESTSenum value to thecoderesponse property for the response status409response-property-enum-value-added
- ○
added the non-success response with the status
429response-non-success-status-added
- ●
- ○
endpoint added
endpoint-added
This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 274 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲