Upgrades the customer to a better device. Creates a new subscription and ends the current one.
| Field | Required | Description |
|---|---|---|
newSku | Yes | SKU of the upgrade product |
newContractLength | Yes | Contract length for new subscription |
reason | No | Reason for upgrade |
upgrade| Error Code | Cause | Solution |
|---|---|---|
SUBSCRIPTION_NOT_ACTIVE | Cannot upgrade inactive subscription | Check subscription status |
VARIANT_NOT_FOUND | New SKU doesn’t exist | Verify SKU in product catalog |
VARIANT_INACTIVE | New SKU is deactivated | Use an active variant |
INVALID_CONTRACT_LENGTH | Contract length not supported | Use valid contract length |
API key obtained from FlexPortal dashboard
Your tenant identifier
The subscription ID
1111 < x <= 120x >= 01