Upgrade customer to a new plan

Upgrades a customer from one plan to another with automatic proration. Credits are applied for the unused portion of the current billing period, and the order is updated with the new plan's pricing.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

customerExternalIdstringRequired
The external ID of the customer
oldPlanIdstringRequiredformat: "uuid"
The ID of the current plan
newPlanIdstringRequiredformat: "uuid"
The ID of the plan to upgrade to

Response

Plan upgrade completed successfully
orderIdstringformat: "uuid"
The ID of the order
amendmentIdstringformat: "uuid"
The ID of the amendment record
versioninteger
The new version of the order after the amendment
effectiveDatedatetime
The effective date of the plan change
endedLineIdslist of strings
IDs of order lines that were ended
createdLineIdslist of strings
IDs of new order lines that were created
creditLineIdslist of strings
IDs of credit lines that were created
prorationDetailslist of objects
Detailed proration calculations for each updated attribute

Errors