Loading...

Knowledge Base

Modify or Upgrade Single Domain Windows Hosting Orders Using the API

When you want to modify or upgrade a Single Domain Windows Hosting order. This article explains how to change hosting plans, update billing duration, configure invoice handling options, and apply discounts using the API.

 

Description

Modifies/upgrades an existing Single Domain Windows Hosting order.

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredYour Live Account Reseller Id
api-keyStringRequiredAn alphanumeric code that can be used to authenticate your API calls
order-idIntegerRequiredThe OrderId which is to be modified.
new-plan-idIntegerRequiredThe new plan to which the order is to be upgraded/downgraded. 
monthsIntegerRequiredThe number of months in the new plan for which the Order is to be modified.
invoice-optionStringRequiredThis parameter will decide how the Customer Invoices will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice, OnlyAdd
discount-amountFloatOptionalDiscount amount for the order value.

HTTP Method

POST

Example Test URL Request

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

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

Response

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

 
 

Loading...