Upgrade an existing web hosting service to a higher plan. The endpoint returns an order ID that can be used to track the order and for further actions in the billing system.
accountId integer · min: 1 required Example Unique account identifier
Accept Example Content-Type Example productId string required success boolean timestamp string requestId string data object https://cloud.hostup.se/api/hosting/{accountId}/upgrade curl -X POST "https://cloud.hostup.se/api/hosting/10060/upgrade" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"productId": "string"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"message": "string",
"orderId": 0,
"orderNum": 0,
"total": "string",
"redirectUrl": "string",
"upgradedTo": {
"productId": "string",
"name": "string"
}
}
} {
"productId": "string"
}