Response parameters
The AutoApplyOrder API can be instructed to return newline-delimited parameters or URL-encoded parameters in the response, by specifying responseFormat=0 or responseFormat=1.
If omitted, the value defaults to 0.
The modifyThirdPartyDetails API only returns URL-encoded response.
0
3040824
210.00
1
TnerFu0d
errorCode=0&orderNumber=3040824&totalCost=210.00&expectedDeliveryTime=1&uniqueValue=TnerFu0d
Response parameters (when responseFormat=0)
The MIME type will be text/plain for responseFormat=0 (by default).
The first line of the response represents a status code.
|
Whether |
| Line | Description | Possible Values |
|---|---|---|
Line 1 |
The status code. |
|
Line 2 |
The second line contains an order number. |
Integer |
Line 3 |
|
Amount in your account’s native currency without a currency symbol. |
Line 4 |
The expected delivery time. |
This value has been deprecated and can be ignored. |
Line 5 |
The SSL certificate ID, up to 16 digits. Returned if |
The internal certificate ID of the SSL certificate purchased by this order.
|
Line 5 or 6 |
The SSL certificate state. Returned if |
|
Line 5, 6 or 7 |
The unique value. Returned if the |
A unique alphanumeric value up to 20 characters long. |
Line 8 |
The eighth line includes |
The SiteLock user ID up to 16 integers long. |
Line 9 |
The ninth line includes |
The SiteLock site ID, represented with string. |
Response parameters (when responseFormat=1)
Most of Sectigo’s APIs use URL-encoding for responses. AutoApplyOrder can be instructed to return responses in the same format by specifying responseFormat=1 in the request.
The MIME type will be application/x-www-form-urlencoded for responseFormat=1.
The following table displays the various parameters that can appear for responseFormat=1.
| Name | Possible Values |
|---|---|
|
The status code, |
|
The error message—only present when |
|
The order number—only present when |
|
The amount, in your account’s native currency, without the currency symbol.
Only present when |
|
This value has been deprecated and can be ignored. |
|
The internal Certificate ID of the SSL certificate purchased by this order.
Only present when |
|
The status of the SSL certificate purchased by this order.
Only returned when |
|
A unique alphanumeric value up to 20 characters long.
Only returned when |
Error codes
The following table outlines error responses returned by the AutoApplyOrder API endpoint. Each error response consists of an errorCode and an errorMessage indicating why the request failed.
Error Code |
Error Message |
Description |
|
|
The request was made over HTTP instead of HTTPS |
|
|
The provided argument is not recognized. |
|
|
The argument value does not meet validation requirements. |
|
|
The user does not have permission to access the AutoApplyOrder API. |
|
|
The request method should be POST. |
|
|
Common Names must not be a fully qualified domain name (FQDN). |
|
|
The order has already been canceled and cannot be modified. |
|
|
The API call limit has been reached, please try again later. |
|
|
The SiteLock partner account is not activated. Please contact Sectigo support to resolve this issue. |
|
|
No price information available for the specified item. |
|
|
Semantic error. TAX is no longer a valid value. Use TIN instead. |
|
|
Semantic error. The format of the provided identifier is incorrect. |
|
|
Semantic error. The country code in the provided identifier is incorrect. |
|
|
A generic error indicating a SiteLock synchronous synchronization issue. |
|
|
SiteLock Monitor must be ordered in conjunction with an SSL product. |