Knowledge Base
Categories: SSL Certificates API
Add an SSL Certificate Order Using the API
When you want to place an SSL certificate order using the API. This article explains SSL plan parameters, billing options, and API request details for order creation.
Description
Places an SSL Certificate order for the specified Domain Name.
Parameters
| Name | Data Type | Required / Optional | Description |
|---|---|---|---|
| domain-name | String | Required | The domain name for which the Order is to be placed |
| months | Integer | Required | The number of months for which the Order is to be placed |
| customer-id | Integer | Required | The Customer under whom the Order should be added |
| plan-id | Integer | Required | The plan under which the Order should be added. |
| invoice-option | String | Required | This parameter will decide how the Customer's Invoice will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice or OnlyAdd. |
| discount-amount | Float | Optional | Discount amount for the order value. |
HTTP Method
POST
Example Test URL Request
https://test.httpapi.com/api/sslcert/add.json?auth-userid=0&api-key=key&domain-name=name&months=0&customer-id=0&plan-id=0&invoice-option=NoInvoice&discount-amount=0.00
Response
Returns a hash map containing the order addition information.
Did you find this article helpful?