ChangeUnitCount - only increase or decrease the number of purchased units for the current plan
The main difference between ChangeUnitCount and using NewPlan with the ID of the same plan
is that if the prices of features changed between contract creation and current time,
ChangeUnitCount will preserve the prices of features recorded in the contract,
while using NewPlan will also mean that new prices will take effect.
By default downgrading to a cheaper plan can only be done at the end of the billing cycle
This is done to avoid the need to refund unused part of the current billing cycle
from the old contract
However, WbCustomer may override this behaviour, and force immediate downgrade by
setting this argument to true.
Default is false
Response
200 - application/json
Upgraded
The response is of type string.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Wingback","colors":{"primary":"#EF3B4D","light":"#FF7886","dark":"#D81D38"},"favicon":"/media/favicon.png","logo":{"light":"https://mintcdn.com/wingback/GadBRdJt85xVxME0/media/logo/light.svg?fit=max\u0026auto=format\u0026n=GadBRdJt85xVxME0\u0026q=85\u0026s=93b61d8945910151ec8df39c2b469c8e","dark":"https://mintcdn.com/wingback/GadBRdJt85xVxME0/media/logo/dark.svg?fit=max\u0026auto=format\u0026n=GadBRdJt85xVxME0\u0026q=85\u0026s=ba6722dedd801b55082f19792ea3b441"},"api":{"mdx":{"server":"https://api.wingback.com"}},"navbar":{"links":[],"primary":{"type":"button","label":"Go to Dashboard","href":"https://app.wingback.com/"}},"footer":{"socials":{"website":"https://wingback.com","twitter":"https://twitter.com/wingbackapp","linkedin":"https://www.linkedin.com/company/wingbackapp/"}},"integrations":{"posthog":{"apiKey":"phc_9zg8YkIBr0SuofRjG6TujIu9Q6I2deAFFat4U3DpbrV","apiHost":"https://i.wingback.com"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"wingback","hasAudioNarration":false,"actualSubdomain":"wingback","customDomains":["docs-int.wingback.com"],"gitSource":{"type":"github","owner":"wingbackapp","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"docs","mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a20c343cf0492c7637e2ac2","collectionId":"df9c82e5-67e0-472b-acfa-7306b676d252","schemaVersion":"v2"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a20c343cf0492c7637e2ac2:success","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"Developer Documentation","count":41},{"language":"default","tag":"API Reference","count":31},{"language":"default","tag":"SGI Fundamentals","count":19},{"language":"default","tag":"Pricing Model Guides","count":16},{"language":"default","tag":"User Guides","count":13},{"language":"default","tag":"User Manuals","count":10},{"language":"default","tag":"Customer","count":8},{"language":"default","tag":"Payment","count":6},{"language":"default","tag":"Guides","count":6},{"language":"default","tag":"Feature Overview","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"dev/api-reference/contract/post_c_contract_contractid_upgrade","slug":"/dev/api-reference/contract/post_c_contract_contractid_upgrade","pageMetadata":{"title":"Upgrade/Change Plan","openapi":"POST /v1/c/contract/{contract_id}/upgrade","description":"Perform a mid-cycle contract upgrade.","href":"/dev/api-reference/contract/post_c_contract_contractid_upgrade"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Perform a mid-cycle contract upgrade.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const IntRedir=()=>{if(typeof document===`undefined`){return null}else{setTimeout(()=>{const currentUrl=new URL(window.location.href);if(currentUrl.hostname===`docs-int.wingback.com`){currentUrl.hostname=`docs.wingback.com`;window.location.replace(currentUrl.toString())}},1);return _jsx(_Fragment,{})}};function _createMdxContent(props){const{_MdxComponentBoundary}={..._provideComponents(),...props.components};if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsx(_MdxComponentBoundary,{name:`IntRedir`,children:_jsx(IntRedir,{})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{IntRedir,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Upgrade/Change Plan","openapi":"POST /v1/c/contract/{contract_id}/upgrade","description":"Perform a mid-cycle contract upgrade.","href":"/dev/api-reference/contract/post_c_contract_contractid_upgrade"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[19,38,""],[136,436,"null;function _creat"]]},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/wingback/bbb25f53a15d63f9/int-redir.js"],"openApiReferenceData":{"operation":{"tags":["contract"],"operationId":"upgrade_contract","parameters":["42d94aca-26c9-417c-8208-e3451a025349"],"requestBody":"98d25af3-9145-4ea0-984f-64c1aaad3e81","responses":{"200":"91e2d20d-5d10-400b-90db-a5686cea9fff"},"security":["fc0f5061-7f6b-49dc-b171-7c2507e0dbdd","d3d0ae78-62cd-4a78-b6a7-05c5463f2ed4"],"method":"post","type":"path","servers":["a4003425-b8cc-41a9-b3c3-854191252b9c","bc411509-c143-4d72-a409-c7938d980f87"],"path":"/v1/c/contract/{contract_id}/upgrade","baseUrlOptions":["http://127.0.0.1:8080","https://api.app.test.wingback.com"],"title":"","description":"Perform a mid-cycle contract upgrade.","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"42d94aca-26c9-417c-8208-e3451a025349":{"name":"contract_id","in":"path","description":"Id of the Contract","required":true,"schema":{"type":"string","isRequired":true,"description":"Id of the Contract","uniqueKey":"","typeLabel":"string"},"example":"Cont_cc871a3a-2b38-4689-a32d-14bf2e62b1ae"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Upgrade configuration used when WbCustomer is performing a Contract Upgrade for a Customer","required":["upgrade_configuration"],"properties":{"upgrade_configuration":{"oneOf":[{"type":"object","description":"Type of plan upgrade:\n* NewPlan - upgrade to a different plan\n* ChangeUnitCount - only increase or decrease the number of purchased units for the current plan\n\nThe main difference between ChangeUnitCount and using NewPlan with the ID of the same plan\nis that if the prices of features changed between contract creation and current time,\nChangeUnitCount will preserve the prices of features recorded in the contract,\nwhile using NewPlan will also mean that new prices will take effect.","required":["upgrade_strategy","plan_id","cycle","currency","activation","unit_count_configuration","unit_configuration"],"properties":{"activation":{"oneOf":[{"type":"object","description":"Configuration to choose the date when upgrade takes place:\n* NextCycle - at the beginning of the next billing cycle\n* Date - at the specific date (UTC)","required":["type"],"properties":{"type":{"type":"string","enum":["next_cycle"],"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.0.activation.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.0.activation.oneOf.0","typeLabel":"object"},{"type":"object","description":"Configuration to choose the date when upgrade takes place:\n* NextCycle - at the beginning of the next billing cycle\n* Date - at the specific date (UTC)","required":["upgrade_date","type"],"properties":{"type":{"type":"string","enum":["date"],"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.0.activation.oneOf.1.type","typeLabel":"enum\u003cstring>"},"upgrade_date":{"type":"string","format":"date-time","description":"Date of the upgrade","isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.0.activation.oneOf.1.upgrade_date","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.0.activation.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.0.activation","typeLabel":"object"},"currency":{"type":"string","description":"A supported currency\n\nThe format for parsing and reading is the lowercased\nISO 4217 currency code (e.g. \"usd\")","enum":["usd","eur","gbp","brl","ars"],"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.0.currency","typeLabel":"enum\u003cstring>"},"cycle":{"type":"string","description":"Enum that lists supported payment cycles for contracts:\n* Once - one-time payment\n* Constant - one-time payment for the duration of the contract\n* Week - contract is paid weekly\n* Month - contract is paid monthly\n* Quarter - contract is paid every quarter\n* Year - contract is paid yearly","enum":["once","hour","day","week","month","quarter","year","constant"],"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.0.cycle","typeLabel":"enum\u003cstring>"},"plan_id":{"type":"string","description":"Unique identifier of an object. Consists of object class prefix and a UUID","example":"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670","isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.0.plan_id","typeLabel":"string"},"unit_configuration":{"type":"object","description":"Configuration specifying overrides to apply to new plan during contract upgrade.\nIn addition to the number of units to purchase, it is possible to\noverride price and flat_fee of specific features to create customized plans\nSee UnitConfiguration for format","additionalProperties":{"type":"object","description":"Helper structure to store the overridden price and flat_fee for customized\ncontracts, as well as the number of units being purchased for the contract","properties":{"flat_fee":{"oneOf":[{"type":"string","description":"the overridden flat_fee for the usage-based feature","uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.flat_fee.oneOf.0","typeLabel":"string"},{"type":"null","description":"the overridden flat_fee for the usage-based feature","uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.flat_fee.oneOf.1","typeLabel":"null"}],"uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.flat_fee","typeLabel":"string | null"},"price":{"oneOf":[{"type":"string","description":"the overridden price of the given feature","uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.price.oneOf.0","typeLabel":"string"},{"type":"null","description":"the overridden price of the given feature","uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.price.oneOf.1","typeLabel":"null"}],"uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.price","typeLabel":"string | null"},"purchased":{"oneOf":[{"type":"boolean","description":"used for optional features - the optional feature is added to the contract only if this\nis set to `true`","uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.purchased.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"used for optional features - the optional feature is added to the contract only if this\nis set to `true`","uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.purchased.oneOf.1","typeLabel":"null"}],"uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.purchased","typeLabel":"boolean | null"},"tiers":{"oneOf":[{"type":"array","items":{"type":"object","description":"A pricing tier","required":["tier_start","tier_end","amount"],"properties":{"amount":{"type":"string","description":"Price per unit for this tier","isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.tiers.oneOf.0.items.[INDEX].amount","typeLabel":"string"},"tier_end":{"oneOf":[{"type":"object","description":"Either a number of `infinity`. Must be a string","required":["Concrete"],"properties":{"Concrete":{"type":"string","isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.tiers.oneOf.0.items.[INDEX].tier_end.oneOf.0.Concrete","typeLabel":"string"}},"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.tiers.oneOf.0.items.[INDEX].tier_end.oneOf.0","typeLabel":"object"},{"type":"string","description":"Either a number of `infinity`. Must be a string","enum":["Infinity"],"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.tiers.oneOf.0.items.[INDEX].tier_end.oneOf.1","typeLabel":"enum\u003cstring>"}],"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.tiers.oneOf.0.items.[INDEX].tier_end","typeLabel":"object | enum\u003cstring>"},"tier_start":{"type":"string","description":"Number of units where this tier starts applying.","isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.tiers.oneOf.0.items.[INDEX].tier_start","typeLabel":"string"}},"uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.tiers.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Override tiers","uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.tiers.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"A pricing tier","required":["tier_start","tier_end","amount"],"properties":{"amount":{"type":"string","description":"Price per unit for this tier"},"tier_end":{"oneOf":[{"type":"object","description":"Either a number of `infinity`. Must be a string","required":["Concrete"],"properties":{"Concrete":{"type":"string"}}},{"type":"string","description":"Either a number of `infinity`. Must be a string","enum":["Infinity"]}]},"tier_start":{"type":"string","description":"Number of units where this tier starts applying."}}},"description":"Override tiers","uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.tiers.oneOf.1","typeLabel":"null"}],"uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.tiers","typeLabel":"object[] | null"},"unit_count":{"oneOf":[{"type":"string","description":"the number of units being purchased","uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.unit_count.oneOf.0","typeLabel":"string"},{"type":"null","description":"the number of units being purchased","uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.unit_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties.unit_count","typeLabel":"string | null"}},"uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.0.unit_configuration","typeLabel":"object"},"unit_count_configuration":{"type":"object","description":"Configuration specifying the number of units to purchase\non the new plan for unit-based features. This is a hashmap where\nkeys are slugs of features, and values are the numbers of units to purchase\n{\n\"{feature_slug}\": {number_of_units}\n}","additionalProperties":{"type":"string","uniqueKey":"upgrade_configuration.oneOf.0.unit_count_configuration.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.0.unit_count_configuration","typeLabel":"object"},"upgrade_strategy":{"type":"string","enum":["new_plan"],"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.0.upgrade_strategy","typeLabel":"enum\u003cstring>"},"discount_id":{"oneOf":[{"type":"string","description":"Unique identifier of an object. Consists of object class prefix and a UUID","example":"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670","uniqueKey":"upgrade_configuration.oneOf.0.discount_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"upgrade_configuration.oneOf.0.discount_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"upgrade_configuration.oneOf.0.discount_id","typeLabel":"string | null"},"pricing_id":{"oneOf":[{"type":"string","description":"Unique identifier of an object. Consists of object class prefix and a UUID","example":"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670","uniqueKey":"upgrade_configuration.oneOf.0.pricing_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"upgrade_configuration.oneOf.0.pricing_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"upgrade_configuration.oneOf.0.pricing_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.0","typeLabel":"object"},{"type":"object","description":"Type of plan upgrade:\n* NewPlan - upgrade to a different plan\n* ChangeUnitCount - only increase or decrease the number of purchased units for the current plan\n\nThe main difference between ChangeUnitCount and using NewPlan with the ID of the same plan\nis that if the prices of features changed between contract creation and current time,\nChangeUnitCount will preserve the prices of features recorded in the contract,\nwhile using NewPlan will also mean that new prices will take effect.","required":["upgrade_strategy","activation","unit_count_configuration"],"properties":{"activation":{"oneOf":[{"type":"object","description":"Configuration to choose the date when upgrade takes place:\n* NextCycle - at the beginning of the next billing cycle\n* Date - at the specific date (UTC)","required":["type"],"properties":{"type":{"type":"string","enum":["next_cycle"],"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.1.activation.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.1.activation.oneOf.0","typeLabel":"object"},{"type":"object","description":"Configuration to choose the date when upgrade takes place:\n* NextCycle - at the beginning of the next billing cycle\n* Date - at the specific date (UTC)","required":["upgrade_date","type"],"properties":{"type":{"type":"string","enum":["date"],"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.1.activation.oneOf.1.type","typeLabel":"enum\u003cstring>"},"upgrade_date":{"type":"string","format":"date-time","description":"Date of the upgrade","isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.1.activation.oneOf.1.upgrade_date","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.1.activation.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.1.activation","typeLabel":"object"},"unit_count_configuration":{"type":"object","description":"Configuration specifying the number of units to purchase\non the new plan for unit-based features. This is a hashmap where\nkeys are slugs of features, and values are the numbers of units to purchase\n{\n\"{feature_slug}\": {number_of_units}\n}","additionalProperties":{"type":"string","uniqueKey":"upgrade_configuration.oneOf.1.unit_count_configuration.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.1.unit_count_configuration","typeLabel":"object"},"upgrade_strategy":{"type":"string","enum":["change_unit_count"],"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.1.upgrade_strategy","typeLabel":"enum\u003cstring>"},"discount_id":{"oneOf":[{"type":"string","description":"Unique identifier of an object. Consists of object class prefix and a UUID","example":"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670","uniqueKey":"upgrade_configuration.oneOf.1.discount_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"upgrade_configuration.oneOf.1.discount_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"upgrade_configuration.oneOf.1.discount_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.1","typeLabel":"object"},{"type":"object","description":"Type of plan upgrade:\n* NewPlan - upgrade to a different plan\n* ChangeUnitCount - only increase or decrease the number of purchased units for the current plan\n\nThe main difference between ChangeUnitCount and using NewPlan with the ID of the same plan\nis that if the prices of features changed between contract creation and current time,\nChangeUnitCount will preserve the prices of features recorded in the contract,\nwhile using NewPlan will also mean that new prices will take effect.","required":["upgrade_strategy","date","recalculate_charges"],"properties":{"date":{"type":"string","format":"date-time","description":"New billing date. All subsequent charges will occur on the same day of the billing cycle.","isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.2.date","typeLabel":"string\u003cdate-time>"},"recalculate_charges":{"type":"boolean","description":"Determines if the customer will be charged for the difference in days/months\nbetween old and new billing dates","isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.2.recalculate_charges","typeLabel":"boolean"},"upgrade_strategy":{"type":"string","enum":["change_billing_date"],"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.2.upgrade_strategy","typeLabel":"enum\u003cstring>"},"discount_id":{"oneOf":[{"type":"string","description":"Unique identifier of an object. Consists of object class prefix and a UUID","example":"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670","uniqueKey":"upgrade_configuration.oneOf.2.discount_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"upgrade_configuration.oneOf.2.discount_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"upgrade_configuration.oneOf.2.discount_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"upgrade_configuration.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"upgrade_configuration","typeLabel":"object"},"downgrade_allowed":{"type":"boolean","description":"By default downgrading to a cheaper plan can only be done at the end of the billing cycle\nThis is done to avoid the need to refund unused part of the current billing cycle\nfrom the old contract\nHowever, WbCustomer may override this behaviour, and force immediate downgrade by\nsetting this argument to `true`.\nDefault is `false`","uniqueKey":"downgrade_allowed","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"upgrade_configuration":{"activation":{"type":"next_cycle"},"plan_id":"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670","unit_configuration":{},"unit_count_configuration":{},"upgrade_strategy":"new_plan","discount_id":"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670","pricing_id":"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670"},"downgrade_allowed":true}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"91e2d20d-5d10-400b-90db-a5686cea9fff":{"description":"Upgraded","content":{"application/json":{"schema":{"type":"string","uniqueKey":"","typeLabel":"string"},"example":"Cont_cc871a3a-2b38-4689-a32d-14bf2e62b1ae","examples":{"Example":{"title":"Example","value":"Cont_cc871a3a-2b38-4689-a32d-14bf2e62b1ae"}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"fc0f5061-7f6b-49dc-b171-7c2507e0dbdd":{"api-key":{"type":"apiKey","in":"header","name":"wb-key","scopes":[]}},"d3d0ae78-62cd-4a78-b6a7-05c5463f2ed4":{"wb_user_cookie":{"type":"apiKey","in":"cookie","name":"app-session","scopes":[]}}},"servers":{"a4003425-b8cc-41a9-b3c3-854191252b9c":{"url":"http://127.0.0.1:8080","description":"Local server"},"bc411509-c143-4d72-a409-c7938d980f87":{"url":"https://api.app.test.wingback.com","description":"Testing server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"wb-key","scopes":[]},"schema":{"title":"wb-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"api-key","name":"wb-key"}],"title":"api-key"},{"schemes":[{"scheme":{"type":"apiKey","in":"cookie","name":"app-session","scopes":[]},"schema":{"title":"app-session","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"wb_user_cookie","name":"app-session"}],"title":"wb_user_cookie"}]},"originalFileLocation":"openapi.json"},"subdomain":"wingback","siteName":"Wingback","title":"Upgrade/Change Plan - Wingback","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T22:42:17.670Z","originalFileLocation":"dev/api-reference/contract/post_c_contract_contractid_upgrade.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Perform a mid-cycle contract upgrade.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Wingback\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Upgrade/Change Plan - Wingback\">\u003cmeta data-mint-head property=\"og:description\" content=\"Perform a mid-cycle contract upgrade.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Wingback\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract_contractid_upgrade\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://wingback.mintlify.app/_mintlify/api/og/v2?division=Contract\u0026amp;title=Upgrade%2FChange+Plan\u0026amp;description=Perform+a+mid-cycle+contract+upgrade.\u0026amp;theme=b99535fc2fd6236ca0523fc2\u0026amp;signature=8cf654e43b5a56c3245f317b5f6b0694b6c904eaca98f6f2768af3cba94b83b5\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Upgrade/Change Plan - Wingback\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Perform a mid-cycle contract upgrade.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://wingback.mintlify.app/_mintlify/api/og/v2?division=Contract\u0026amp;title=Upgrade%2FChange+Plan\u0026amp;description=Perform+a+mid-cycle+contract+upgrade.\u0026amp;theme=b99535fc2fd6236ca0523fc2\u0026amp;signature=8cf654e43b5a56c3245f317b5f6b0694b6c904eaca98f6f2768af3cba94b83b5\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Wingback\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#EF3B4D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract_contractid_upgrade\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/dev/api-reference/contract/post_c_contract_contractid_upgrade.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs-int.wingback.com/#organization\",\"name\":\"Wingback\",\"url\":\"https://docs-int.wingback.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/wingback/GadBRdJt85xVxME0/media/logo/light.svg?fit=max\u0026auto=format\u0026n=GadBRdJt85xVxME0\u0026q=85\u0026s=93b61d8945910151ec8df39c2b469c8e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs-int.wingback.com#website\",\"name\":\"Wingback\",\"url\":\"https://docs-int.wingback.com\",\"publisher\":{\"@id\":\"https://docs-int.wingback.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract_contractid_upgrade#webpage\",\"url\":\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract_contractid_upgrade\",\"name\":\"Upgrade/Change Plan\",\"description\":\"Perform a mid-cycle contract upgrade.\",\"dateModified\":\"2026-01-06T22:42:17.670Z\",\"isPartOf\":{\"@id\":\"https://docs-int.wingback.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract_contractid_upgrade#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract_contractid_upgrade#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs-int.wingback.com/dev/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Contract\",\"item\":\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Upgrade/Change Plan\",\"item\":\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract_contractid_upgrade\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract_contractid_upgrade#apireference\",\"headline\":\"Upgrade/Change Plan\",\"name\":\"Upgrade/Change Plan\",\"description\":\"Perform a mid-cycle contract upgrade.\",\"url\":\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract_contractid_upgrade\",\"mainEntityOfPage\":{\"@id\":\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract_contractid_upgrade#webpage\"},\"dateModified\":\"2026-01-06T22:42:17.670Z\",\"publisher\":{\"@id\":\"https://docs-int.wingback.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs-int.wingback.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Wingback\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Wingback","nav":{"global":null,"tabs":[{"tab":"User Guides","pages":[{"title":"User Guides","href":"/user/welcome"}]},{"tab":"User Manuals","pages":[{"title":"User Manuals","href":"/manual/introduction"}]},{"tab":"SGI Fundamentals","pages":[{"title":"SGI Fundamentals","href":"/fundamentals/vocab/introduction"}]},{"tab":"Developer Documentation","groups":[{"group":"Welcome","pages":[{"title":"Introduction","href":"/dev/welcome"}]},{"group":"Guides","pages":[{"title":"Working with Features and Entitlements","href":"/dev/guides/features-entitlements"},{"title":"Integrating Wingback into your Signup Flow","href":"/dev/guides/integrate-wingback-signup-flow"},{"title":"Billing Portal Integration","href":"/dev/guides/billing-portal"},{"title":"Adding a Dynamic Pricing Page to Your Website","href":"/dev/guides/pricing-page"},{"title":"Metering Usage","href":"/dev/guides/metering"},{"title":"Webhooks","href":"/dev/guides/webhooks"}]},{"group":"Wingback.js","pages":[{"title":"Introduction","href":"/dev/wingback-js/introduction"},{"title":"Pricing Pages","href":"/dev/wingback-js/pricing"}]},{"group":"Advanced","pages":[{"title":"Variable Invoicing Schedules","href":"/dev/advanced/variable-invoicing-schedules"}]},{"group":"API Reference","pages":[{"title":"Introduction","href":"/dev/api-reference/introduction"},{"group":"Customer","pages":[{"title":"Create New Customer","openapi":"POST /v1/c/customer","href":"/dev/api-reference/customer/post_c_customer"},{"title":"Get Customer","openapi":"GET /v1/c/customer/{customer_id}","href":"/dev/api-reference/customer/get_c_customer_customerid"},{"title":"Search for Customers","openapi":"GET /v1/c/customer","href":"/dev/api-reference/customer/get_c_customer"},{"title":"Activate Customer","openapi":"POST /v1/c/customer/{customer_id}/activate","href":"/dev/api-reference/customer/post_c_customer_customerid_activate"},{"title":"Freeze/Inactivate Customer","openapi":"POST /v1/c/customer/{customer_id}/inactivate","href":"/dev/api-reference/customer/post_c_customer_customerid_inactivate"},{"title":"Add Address","openapi":"POST /v1/c/customer/{customer_id}/address","href":"/dev/api-reference/customer/post_c_customer_customerid_address"},{"title":"Get Address","openapi":"GET /v1/c/customer/{customer_id}/address","href":"/dev/api-reference/customer/get_c_customer_customerid_address"},{"title":"Delete Address","openapi":"DELETE /v1/c/customer/{customer_id}/address","href":"/dev/api-reference/customer/delete_c_customer_customerid_address"}]},{"group":"Contract","pages":[{"title":"Subscribe Customer to a Plan","openapi":"POST /v1/c/contract","href":"/dev/api-reference/contract/post_c_contract"},{"title":"Retrieve Contract Details","openapi":"GET /v1/c/contract/{contract_id}","description":null,"href":"/dev/api-reference/contract/get_c_contract_contractid"},{"title":"Upgrade/Change Plan","openapi":"POST /v1/c/contract/{contract_id}/upgrade","href":"/dev/api-reference/contract/post_c_contract_contractid_upgrade"},{"title":"Estimate Upgrade Costss","openapi":"POST /v1/c/contract/{contract_id}/upgrade_estimate","description":"Estimate plan upgrade costs.","href":"/dev/api-reference/contract/post_c_contract_contractid_upgrade_estimate"}]},{"group":"Billing Portal","pages":[{"title":"Login a Customer to the Self-Serve Portal","openapi":"POST /v1/c/customer/authenticate","href":"/dev/api-reference/billing-portal/post_c_customer_authenticate"}]},{"group":"Entitlements","pages":[{"title":"Get Access Entitlements","openapi":"GET /v1/c/entitlement/{customer_id}/access","href":"/dev/api-reference/entitlement/get_c_entitlement_customerid_access"},{"title":"Get Billing Entitlements","openapi":"GET /v1/c/entitlement/{customer_id}/billing","href":"/dev/api-reference/entitlement/get_c_entitlement_customerid_billing"}]},{"group":"Usage","pages":[{"title":"Report Single Event","openapi":"POST /v1/c/usage","href":"/dev/api-reference/usage/post_c_usage"},{"title":"Bulk Usage Upload","openapi":"POST /v1/c/usage/bulk","href":"/dev/api-reference/usage/post_c_usage_bulk"}]},{"group":"Payment","pages":[{"title":"Create Payment Session","openapi":"POST /v1/c/customer/{customer_id}/payment/session","href":"/dev/api-reference/payment/post_c_customer_customerid_payment_session"},{"title":"Add Payment Method","openapi":"POST /v1/c/customer/{customer_id}/payment/method","href":"/dev/api-reference/payment/post_c_customer_customerid_payment_method"},{"title":"List saved Payment Methods","openapi":"GET /v1/c/customer/{customer_id}/payment/method","href":"/dev/api-reference/payment/get_c_customer_customerid_payment_method"},{"title":"Get Saved Payment Method","openapi":"GET /v1/c/customer/{customer_id}/payment/method/{method_id}","href":"/dev/api-reference/payment/get_c_customer_customerid_payment_method_methodid"},{"title":"List saved Payment Methods","openapi":"GET /v1/c/customer/{customer_id}/payment/method","href":"/dev/api-reference/payment/get_c_customer_customerid_payment_method_selection"},{"title":"Set Default Payment Method","openapi":"POST /v1/c/customer/{customer_id}/payment/method_selection","href":"/dev/api-reference/payment/post_c_customer_customerid_payment_method_selection"}]},{"group":"Balance","pages":[{"title":"Get Current Customer Balance","openapi":"GET /v1/c/customer/{customer_id}/balance","href":"/dev/api-reference/balance/get_c_customer_customerid_balance"}]},{"group":"Virtual Wallets (Credits)","pages":[{"title":"Get Virtual Balances","openapi":"GET /v1/c/customer/{customer_id}/virtual-wallet/","href":"/dev/api-reference/virtual-wallet/get_c_customer_customerid_virtual-wallet"},{"title":"Add Virtual Credits","openapi":"POST /v1/c/virtual-wallet-transaction","href":"/dev/api-reference/virtual-wallet/post_c_virtual-wallet-transaction"}]},{"group":"Invoices","pages":[{"title":"List Invoices","openapi":"GET /v1/c/invoice","href":"/dev/api-reference/invoice/get_c_invoice"},{"title":"Get Invoice","openapi":"GET /v1/c/invoice/{invoice_id}","href":"/dev/api-reference/invoice/get_c_invoice_invoiceid"},{"title":"Configure Global Invoicing Preferences","openapi":"POST /v1/c/preferences/invoicing","href":"/dev/api-reference/invoice/post_c_preferences_invoicing"},{"title":"Manually Trigger Invoice Generation","openapi":"POST /v1/c/invoice","href":"/dev/api-reference/invoice/post_c_invoice"}]}]}]}]},"title":"Upgrade/Change Plan - Wingback","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-26-lDe7V.js","utils-CWQmgYtH.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-4-Aw3rSD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C2zjXYA5.js","snippetPresets-DFmpFA7C.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-FJpQavWq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D_GvPF7k.js","shallow-Bs2ZB0NO.js","getApiPlaygroundDisplay-DCcqJJk-.js","CodeSnippet-DzDxawVe.js","CodeSnippets-aUr7fU-7.js","Page-CT9uE8Ip.js","getPastedJson-Y1fKsj_I.js","icon-DI4zTsDr.js","MethodPill-C0nDlmSQ.js","DuplicateIcon-NUXbx2nQ.js","createIcon-BdTHrPAi.js","DynamicMarkdown-CtpgKJwj.js","SectionHeading-B3x35tOt.js","axios-vUo_bRtp.js","Markdown-3OmurJMP.js","clsx-DMKzROTp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-1ms6tsT-.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Ke9xIMFx.js"]}