Developer Center

Service Upgrade

This API action allows a service to be upgraded to a higher product package.

Method / Endpoint

POST/ {{API_URL}} order/upgrade

Request Parameters

Name Requirement Description
id Yes Order ID Number
upgrade_product_type Yes Type of Product to Upgrade
upgrade_product_id Yes ID Number of Product to Upgrade
upgrade_product_period_type Yes The period period to be upgraded. Possible values: year, month, week, day, hour
upgrade_product_period_duration Yes The period duration to be upgraded.

Sample cURL Request

curl --location 'https://example.com/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
}'

Sample JSON Response

{
    "status": "successful",
    "invoice_id": 4,
    "fee": "10.0000",
    "fee_formatted": "$10"
}
List Existing Orders Create Cancellation Request

Do you have any questions?

Feel free to contact us
Contact Us
Copyright © 2024. All Rights Reserved.
Join Our Discord Channel
Top

New Year's Special Discount

"Startup Lifetime" and "Professional Lifetime" licenses are 30% off!

Coupon Code:
HAPPYYEARS30 Copied!
Discount Rate 30%
Expiration Date December 31, 2024