Get plan details
Retrieve a specific plan. Use ?version=draft for the draft version, ?version=2 for a specific version number, or omit for the active version.
Path parameters
Plan ID
Query parameters
Filter by version: "draft", a version number, or omitted for active
Response
Plan details
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 17 of the 54 revisions of this API.18432
- ▲
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 non-success response with the status
429response-non-success-status-added
- ●
- ○
added the new optional
queryrequest parameterversionnew-optional-request-parameter
- ○
added the media type
application/jsonfor the response with the status401response-media-type-added
- ○
added the media type
application/jsonfor the response with the status404response-media-type-added
- ○
removed the non-success response with the status
500response-non-success-status-removed
- ○
added the optional property
billing_cyclesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
period_start_dayto the response with the200statusresponse-optional-property-added
- ○
added the optional property
self_service_rankto the response with the200statusresponse-optional-property-added
- ○
added
CAPACITYEXTRA_RECURRINGONE_TIMERATESLOTUSAGEdiscriminator mapping keys to theprice_components/items/fee/oneOf[Fee]/response property for the response status200response-property-discriminator-mapping-added
- ○
removed
capacityextra_recurringone_timerateslotusagediscriminator mapping keys from theprice_components/items/fee/oneOf[Fee]/response property for the response status200response-property-discriminator-mapping-deleted
This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
the response property
price_components/items/feebecame optional for the status200response-property-became-optional
- ▲
added
Feesubschema #1to theprice_components/items/feeresponse propertyoneOflist for the response status200response-property-one-of-added
- ○
removed discriminator from
price_components/items/feeresponse property for the response status200response-property-discriminator-removed
- ○
removed
RatePlanFeeSlotPlanFeeCapacityPlanFeeUsagePlanFeeExtraRecurringPlanFeeOneTimePlanFeefrom theprice_components/items/feeresponse propertyoneOflist for the response status200response-property-one-of-removed
- ▲
- ▲
added
PerUnitPlanPricingTieredPlanPricingVolumePlanPricingPackagePlanPricingMatrixPlanPricingto theprice_components/items/fee/oneOf[UsagePlanFee]/pricingresponse propertyoneOflist for the response status200response-property-one-of-added
- ○
mapped value for discriminator key
MATRIXchanged fromMatrixPricingtoMatrixPlanPricingforprice_components/items/fee/oneOf[UsagePlanFee]/pricingresponse property for the response status200response-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
PACKAGEchanged fromPackagePricingtoPackagePlanPricingforprice_components/items/fee/oneOf[UsagePlanFee]/pricingresponse property for the response status200response-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
PER_UNITchanged fromPerUnitPricingtoPerUnitPlanPricingforprice_components/items/fee/oneOf[UsagePlanFee]/pricingresponse property for the response status200response-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
TIEREDchanged fromTieredPricingtoTieredPlanPricingforprice_components/items/fee/oneOf[UsagePlanFee]/pricingresponse property for the response status200response-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
VOLUMEchanged fromVolumePricingtoVolumePlanPricingforprice_components/items/fee/oneOf[UsagePlanFee]/pricingresponse property for the response status200response-property-discriminator-mapping-changed
- ○
removed
PerUnitPricingTieredPricingVolumePricingPackagePricingMatrixPricingfrom theprice_components/items/fee/oneOf[UsagePlanFee]/pricingresponse propertyoneOflist for the response status200response-property-one-of-removed
- ▲
- ○
api tag
Plansaddedapi-tag-added
- ○
api tag
Planremovedapi-tag-removed
- ○