{
"prices": {
"existingPriceIds": ["price_0000000000000001"],
"newPrices": [
{
"productId": "prod_0000000000000001",
"type": "unit",
"feeType": "metered",
"billingDirection": "arrears",
"billingInterval": "monthly",
"unitPricingModel": {
"pricePerUnit": "59.99"
}
}
]
},
"priceBundles": [
{
"name": "Core Features",
"description": "Essential platform capabilities",
"bundleId": "bun_0000000000000001",
"existingPriceIds": ["price_0000000000000002"],
"newPrices": [
{
"productId": "prod_0000000000000002",
"type": "unit",
"feeType": "metered",
"billingDirection": "arrears",
"billingInterval": "monthly",
"unitPricingModel": {
"pricePerUnit": "29.99"
}
}
]
}
],
"changeDescription": "Added new features to enterprise plan",
"startDate": "2024-02-01T00:00:00Z",
"isMidCycle": false
}
{
"id": "subver_0000000000000001",
"createdAt": "2024-01-01T12:00:00Z",
"organizationId": "00000000-0000-0000-0000-000000000001",
"quoteId": "quo_0000000000000001",
"changeDescription": "Added new features to enterprise plan",
"startDate": "2024-02-01T00:00:00Z",
"endDate": "2024-12-31T23:59:59Z",
"priceGroups": [
{
"name": "Core Features",
"description": "Essential platform capabilities",
"bundleId": "bun_0000000000000001",
"priceIds": [
"pri_0000000000000001",
"pri_0000000000000002",
"pri_0000000000000003"
]
},
{
"name": "Add-ons",
"description": "Optional additional features",
"bundleId": "bun_0000000000000002",
"priceIds": ["pri_0000000000000004", "pri_0000000000000005"]
}
],
"status": "published"
}
Create a new version of a subscription
{
"prices": {
"existingPriceIds": ["price_0000000000000001"],
"newPrices": [
{
"productId": "prod_0000000000000001",
"type": "unit",
"feeType": "metered",
"billingDirection": "arrears",
"billingInterval": "monthly",
"unitPricingModel": {
"pricePerUnit": "59.99"
}
}
]
},
"priceBundles": [
{
"name": "Core Features",
"description": "Essential platform capabilities",
"bundleId": "bun_0000000000000001",
"existingPriceIds": ["price_0000000000000002"],
"newPrices": [
{
"productId": "prod_0000000000000002",
"type": "unit",
"feeType": "metered",
"billingDirection": "arrears",
"billingInterval": "monthly",
"unitPricingModel": {
"pricePerUnit": "29.99"
}
}
]
}
],
"changeDescription": "Added new features to enterprise plan",
"startDate": "2024-02-01T00:00:00Z",
"isMidCycle": false
}
{
"id": "subver_0000000000000001",
"createdAt": "2024-01-01T12:00:00Z",
"organizationId": "00000000-0000-0000-0000-000000000001",
"quoteId": "quo_0000000000000001",
"changeDescription": "Added new features to enterprise plan",
"startDate": "2024-02-01T00:00:00Z",
"endDate": "2024-12-31T23:59:59Z",
"priceGroups": [
{
"name": "Core Features",
"description": "Essential platform capabilities",
"bundleId": "bun_0000000000000001",
"priceIds": [
"pri_0000000000000001",
"pri_0000000000000002",
"pri_0000000000000003"
]
},
{
"name": "Add-ons",
"description": "Optional additional features",
"bundleId": "bun_0000000000000002",
"priceIds": ["pri_0000000000000004", "pri_0000000000000005"]
}
],
"status": "published"
}
{
"prices": {
"existingPriceIds": ["price_0000000000000001"],
"newPrices": [
{
"productId": "prod_0000000000000001",
"type": "unit",
"feeType": "metered",
"billingDirection": "arrears",
"billingInterval": "monthly",
"unitPricingModel": {
"pricePerUnit": "59.99"
}
}
]
},
"priceBundles": [
{
"name": "Core Features",
"description": "Essential platform capabilities",
"bundleId": "bun_0000000000000001",
"existingPriceIds": ["price_0000000000000002"],
"newPrices": [
{
"productId": "prod_0000000000000002",
"type": "unit",
"feeType": "metered",
"billingDirection": "arrears",
"billingInterval": "monthly",
"unitPricingModel": {
"pricePerUnit": "29.99"
}
}
]
}
],
"changeDescription": "Added new features to enterprise plan",
"startDate": "2024-02-01T00:00:00Z",
"isMidCycle": false
}
Show Prices Object Properties
type field
(e.g., unitPricingModel for type unit). See the Pricing Models API
Reference for all
supported models and their parameters.Show Common NewPrice Properties
unit, fixed, tiered, graduated_tiered, prepaid_tiered, prepaid_fixed_tiered, tiered_percentage, graduated_percentage, volume_percentagefixed or metered. Defaults to the product’s fee type if omitted.advance (start of period) or arrears (end of period). Defaults to the product’s payment terms if omitted.monthly, quarterly, or yearlyShow PriceBundle Properties
type field
(e.g., unitPricingModel for type unit). See the Pricing Models API
Reference for all
supported models and their parameters.Show Common NewPrice Properties
unit, fixed, tiered, graduated_tiered, prepaid_tiered, prepaid_fixed_tiered, tiered_percentage, graduated_percentage, volume_percentagefixed or metered. Defaults to the product’s fee type if omitted.advance (start of period) or arrears (end of period). Defaults to the product’s payment terms if omitted.monthly, quarterly, or yearly{
"id": "subver_0000000000000001",
"createdAt": "2024-01-01T12:00:00Z",
"organizationId": "00000000-0000-0000-0000-000000000001",
"quoteId": "quo_0000000000000001",
"changeDescription": "Added new features to enterprise plan",
"startDate": "2024-02-01T00:00:00Z",
"endDate": "2024-12-31T23:59:59Z",
"priceGroups": [
{
"name": "Core Features",
"description": "Essential platform capabilities",
"bundleId": "bun_0000000000000001",
"priceIds": [
"pri_0000000000000001",
"pri_0000000000000002",
"pri_0000000000000003"
]
},
{
"name": "Add-ons",
"description": "Optional additional features",
"bundleId": "bun_0000000000000002",
"priceIds": ["pri_0000000000000004", "pri_0000000000000005"]
}
],
"status": "published"
}
draft or
published