Modify/Upgrade

Description

Modifies/upgrades an existing Single Domain Windows Hosting order.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The OrderId which is to be modified.
new-plan-id Integer Required The new plan to which the order is to be upgraded/downgraded. To fetch the plan details i.e. plan-id etc, use this method.
months Integer Required The number of months in the new plan for which the Order is to be modified.
invoice-option String Required This parameter will decide how the Customer Invoices will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice, OnlyAdd
discount-amount Float Optional Discount amount for the order value.

HTTP Method

POST

Example Test URL Request

<#start singledomainhostingwindowsus#>US, Texas Server https://test.httpapi.com/api/singledomainhosting/windows/us/modify.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0&invoice-option=NoInvoice&discount-amount=0.00 <#end singledomainhostingwindowsus#><#start singledomainhostingwindowsusca#>
US, California Server https://test.httpapi.com/api/singledomainhosting/windows/us/ca/modify.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0&invoice-option=NoInvoice&discount-amount=0.00 <#end singledomainhostingwindowsusca#><#start singledomainhostingwindowsuk#>
UK Server https://test.httpapi.com/api/singledomainhosting/windows/uk/modify.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0&invoice-option=NoInvoice&discount-amount=0.00 <#end singledomainhostingwindowsuk#><#start singledomainhostingwindowsin#>
India Server https://test.httpapi.com/api/singledomainhosting/windows/in/modify.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0&invoice-option=NoInvoice&discount-amount=0.00 <#end singledomainhostingwindowsin#><#start singledomainhostingwindowshk#>
Hong Kong Server https://test.httpapi.com/api/singledomainhosting/windows/hk/modify.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0&invoice-option=NoInvoice&discount-amount=0.00 <#end singledomainhostingwindowshk#><#start singledomainhostingwindowstr#>
Turkey Server https://test.httpapi.com/api/singledomainhosting/windows/tr/modify.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0&invoice-option=NoInvoice&discount-amount=0.00 <#end singledomainhostingwindowstr#>

Response

Returns a map of the execution details of the modify operation.