Update plan instance
Overrides the pricing and charges of a plan instance by creating a new plan instance version.
Authorizations
API Key Authentication.
Path Parameters
The unique identifier of the plan instance in our system.
Body
Schema for overriding the pricing of a plan instance. The provided charges replace the instance's full charge set and a new plan instance version is created.
The full set of charges the plan instance will bill from now on, keyed by category. Replaces the existing charges entirely.
A fixed charge: bills a flat amount every cycle.
- Option 1
- Option 2
- Option 3
Response
Schema representing a plan instance: a plan sold on a contract. The instance keeps its own versioned copy of the plan's charges, so its pricing can be overridden without affecting the plan or other contracts.
The unique identifier of the plan instance in our system.
The unique identifier of the contract the plan instance belongs to.
The unique identifier of the plan this instance was created from.
The unique identifier of the plan instance version currently used for billing.
The unique identifier of the plan version the active plan instance version derives from.
Why the active plan instance version exists: created_from_plan_version (instantiated from the plan's version), duplicated_from_contract (copied when the contract was duplicated), manual_override (pricing overridden manually or through the API), readjustment (a percentage rate adjustment was applied), or rollback (rolled back to a previous version).
created_from_plan_version, duplicated_from_contract, manual_override, readjustment, rollback Current status of the plan instance: active (billed on the contract's cycles), canceled (interrupted before its end; no longer billed), or completed (ran through its end).
active, canceled, completed Base properties of the plan this instance was created from.
The plan instance version currently used for billing, including its plan charges.