Actions
Upgrade Service
Upgrade an existing service to a higher product package
This API action upgrades a service to a higher product package.
For Hostrox, the full URL is:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Upgrade an existing service to a higher product package
POST {{API_URL}}/order/upgrade
POST https://client.hostrox.net/api/reseller/order/upgrade
| Name | Required | Description |
|---|---|---|
key | Yes | API Key |
id | Yes | Order ID number |
upgrade_product_type | Yes | Type of the product to upgrade to |
upgrade_product_id | Yes | ID number of the product to upgrade to |
upgrade_product_period_type | Yes | Target billing period. Possible values: year, month, week, day, hour |
upgrade_product_period_duration | Yes | Length of the target billing period |
curl --location 'https://client.hostrox.net/api/reseller/order/upgrade' \
--header 'Content-Type: application/json' \
--data '{
"key": "UzZBSlBWeWk0UEcrVWxlU0RjS1B1dz09",
"id": 3,
"upgrade_product_type": "hosting",
"upgrade_product_id": 34,
"upgrade_product_period_type": "month",
"upgrade_product_period_duration": 1
}'
{
"status": "successful",
"invoice_id": 4,
"fee": "10.0000",
"fee_formatted": "$10"
}