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
| Parameter | Type | Description |
|---|---|---|
| product_id | int | Product ID |
| domain | string | Domain name, ie. example.com, may be optional |
| cycle | string | Billing period symbol |
| pay_method | int | Payment method ID |
| custom | array | Additional options data available for sop products |
| promocode | string | Promotion code |
Example Response
{
"order_num": 873340995,
"invoice_id": "308979",
"total": "9.99",
"items": {
"id": "10",
"type": "Hosting",
"name": "test.com",
"product_id": "3"
}
}