Loading...

Knowledge Base

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

NameData TypeRequired / OptionalDescription
domain-nameStringRequiredThe domain name for which the Order is to be placed
monthsIntegerRequiredThe number of months for which the Order is to be placed
customer-idIntegerRequiredThe Customer under whom the Order should be added
plan-idIntegerRequiredThe plan under which the Order should be added.
invoice-optionStringRequiredThis parameter will decide how the Customer's Invoice will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice or OnlyAdd.
discount-amountFloatOptionalDiscount 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.