Skip to main content

Order new service

Create and submit new order for selected product.

To get available cycle and configuration options lookup product details using GET /order/@product_id

HTTP Request

POST /order/@product_id

Auth: true

QUERY PARAMETERS

ParameterTypeDescription
product_idintProduct ID
domainstringDomain name, ie. example.com, may be optional
cyclestringBilling period symbol
pay_methodintPayment method ID
customarrayAdditional options data available for sop products
promocodestringPromotion code

Example Response


{
"order_num": 873340995,
"invoice_id": "308979",
"total": "9.99",
"items": {
"id": "10",
"type": "Hosting",
"name": "test.com",
"product_id": "3"
}
}