POST
/
kvm
/
v2
/
add
/
upgrade
curl --request POST \
  --url https://order.edisglobal.com/kvm/v2/add/upgrade \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "user@example.com",
  "pw": "securepassword",
  "kvmid": "kvm_123456_789012",
  "newpid": 1642,
  "newbillingcycle": "monthly",
  "newpaymentmethod": "paypal"
}'
{
  "status": "success",
  "orderid": "228300",
  "serviceid": "209052",
  "invoiceid": "1617670",
  "oldproductname": "KVM BASIC",
  "newproductname": "KVM PREMIUM PLUS",
  "oldproductid": "1632",
  "newproductid": "1642"
}

Body

application/json
email
string
Example:

"user@example.com"

pw
string
Example:

"securepassword"

kvmid
string

KVM service ID(kvm_id) or numeric client ID.

Example:

"kvm_123456_789012"

newpid
integer

New Product ID, must be within the same location

Example:

1642

newbillingcycle
enum<string>

Billing cycle for the upgraded product. Please select from the dropdown list.

Available options:
monthly,
quarterly,
semi-annually,
annually
Example:

"monthly"

newpaymentmethod
string
Example:

"paypal"

Response

200
application/json
Upgrade successful
status
string
Example:

"success"

orderid
string
Example:

"228300"

serviceid
string
Example:

"209052"

invoiceid
string
Example:

"1617670"

oldproductname
string
Example:

"KVM BASIC"

newproductname
string
Example:

"KVM PREMIUM PLUS"

oldproductid
string
Example:

"1632"

newproductid
string
Example:

"1642"