Certificate ordering
The AutoApplyOrder action initiates a new mark certificate order.
Endpoint: !AutoApplyOrder
https://secure.trust-provider.com/products/download/!AutoApplyOrder
The AutoApplyOrder API endpoint allows you to submit a new mark certificate order, including all required organization, domain, and trademark details.
Use this endpoint to order the required product.
Use the POST method for this endpoint.
Submit parameters in the x-www-form-urlencoded format.
The following table lists the required and optional parameters.
| Parameter | Required/Optional | Type | Max. Length | Description | ||
|---|---|---|---|---|---|---|
|
required |
string |
64 chars |
Your account username. This value is case sensitive. |
||
|
required |
string |
128 chars |
Your account password. This value is case sensitive. |
||
|
required |
string |
64 chars |
A comma-separated string of product codes for the product you are ordering. The following product IDs are used:
|
||
|
required |
integer |
Your requested product validity period in days. The possible value is |
|||
|
required |
string |
32767 chars |
A comma-separated list of domain names to be included in the resulting certificate. |
||
|
optional |
string |
32767 chars |
A comma-separated list of DCV email addresses and/or DCV methods to be used for validating the domains specified in the Each value in this list must correspond to the domain at the same position in the
|
||
|
required |
string |
32767 chars |
Your Base64 URL-encoded certificate signing request. The CSR must not contain domain names other than those provided in the |
||
|
required |
string |
32000 chars |
Your Base64 URL-encoded trademark logo. |
||
|
required |
string |
255 chars |
(CMC only) The domain name where the logo has been previously used. This information serves as evidence of prior logo use. For multi-domain CMC, this must be one of the domain names listed in the |
||
|
required |
string |
2 chars |
(VMC only) The two-letter ISO country code where the trademark is registered. |
||
|
required |
string |
128 chars |
(VMC only) The trademark office where the trademark is registered. |
||
|
required |
string |
64 chars |
(VMC only) The trademark registration number or serial number. |
||
|
required |
string |
64 chars |
The organization name requested for inclusion in the resulting certificate. |
||
|
optional |
string |
40 chars |
The organization post office box. |
||
|
required |
string |
128 chars |
The street address of the organization provided for validation purposes. |
||
|
optional |
string |
128 chars |
The second part of the organization’s street address (if necessary). |
||
|
optional |
string |
128 chars |
The third part of the organization’s street address (if necessary). |
||
|
required |
string |
128 chars |
The city or town where the organization resides. |
||
|
required |
string |
128 chars |
The state or province in which the organization operates. |
||
|
required |
string |
40 chars |
The postal code at which the organization operates. |
||
|
required |
string |
2 chars |
The country in which the organization operates. |
||
|
required |
string |
64 chars |
The registration number of the organization provided for validation purposes. |
||
|
optional |
string |
20 chars |
A unique nine-digit identifier for businesses, provided by the company Dun & Bradstreet. |
||
|
optional |
string |
128 chars |
The city or locality where the organization is incorporated or registered. |
||
|
optional |
string |
128 chars |
The state or province where the organization is incorporated or registered. |
||
|
required |
string |
2 chars |
The country where the organization is incorporated. |
||
|
optional |
string |
64 chars |
An optional name under which the organization operates that is different from its legal name. This is a so-called DBA (doing business as) name for the company (if any). |
||
|
optional |
string |
10 chars |
The date when the organization was officially incorporated ( |
||
|
required |
char |
1 char |
The legal classification of the organization. The possible values are:
|
||
|
required |
string |
64 chars |
The applicant representative’s job title. |
||
|
required |
string |
64 chars |
The applicant representative’s first name. |
||
|
required |
string |
64 chars |
The applicant representative’s last name. |
||
|
required |
string |
255 chars |
The applicant representative’s email address. |
||
|
required |
string |
32 chars |
Applicant representative’s phone number. |
||
|
optional |
string |
32 chars |
The applicant representative’s fax number. |
||
|
optional |
string |
64 chars |
The applicant representative’s organization name. |
||
|
optional |
string |
64 chars |
The applicant representative’s organizational unit name. |
||
|
optional |
string |
40 chars |
The applicant representative’s post office box. |
||
|
optional |
string |
128 chars |
The applicant representative’s street address. |
||
|
optional |
string |
128 chars |
The second part of the applicant representative’s street address (if necessary). |
||
|
optional |
string |
128 chars |
The third part of the applicant representative’s street address (if necessary). |
||
|
optional |
string |
128 chars |
The applicant representative’s city or town. |
||
|
optional |
string |
128 chars |
The applicant representative’s state or province. |
||
|
optional |
string |
40 chars |
The applicant representative’s postal code. |
||
|
optional |
string |
2 chars |
The applicant representative’s country code. |
||
|
optional |
string |
64 chars |
The job title of the contract signer. This parameter is optional and may be omitted if the Applicant Representative and the Signer are the same individual.
|
||
|
optional |
string |
64 chars |
The first name of the contract signer. This parameter is optional and may be omitted if the Applicant Representative and the Signer are the same individual.
|
||
|
optional |
string |
64 chars |
The last name of the contract signer. This parameter is optional and may be omitted if the Applicant Representative and the Signer are the same individual.
|
||
|
optional |
string |
255 chars |
The email address of the contract signer. This parameter is optional and may be omitted if the Applicant Representative and the Signer are the same individual.
|
||
|
optional |
string |
2 chars |
The country in which the contract signer does business. This parameter is optional and may be omitted if the Applicant Representative and the Signer are the same individual.
|
||
|
optional |
string |
32 chars |
The contact phone number of the contract signer. This parameter is optional and may be omitted if the Applicant Representative and the Signer are the same individual.
|
||
|
optional |
string |
40 chars |
Signer’s post office box. This parameter is optional and may be omitted if the Applicant Representative and the Signer are the same individual.
|
||
|
optional |
string |
128 chars |
The street address where the contract signer does business. This parameter is optional and may be omitted if the Applicant Representative and the Signer are the same individual.
|
||
|
optional |
string |
128 chars |
The second part of the contract signer’s street address (if necessary). This parameter is optional and may be omitted if the Applicant Representative and the Signer are the same individual.
|
||
|
optional |
string |
128 chars |
The third part of the contract signer’s street address (if necessary). This parameter is optional and may be omitted if the Applicant Representative and the Signer are the same individual.
|
||
|
optional |
string |
128 chars |
The city in which the contract signer does business. This parameter is optional and may be omitted if the Applicant Representative and the Signer are the same individual.
|
||
|
optional |
string |
128 chars |
The state or province in which the contract signer does business. This parameter is optional and may be omitted if the Applicant Representative and the Signer are the same individual.
|
||
|
optional |
string |
40 chars |
The postal code at which the contract signer does business. This parameter is optional and may be omitted if the Applicant Representative and the Signer are the same individual.
|
||
|
optional |
string |
1 char |
Indicates whether the logo and certificates are hosted on the CA basis or not. The possible options are:
If omitted, its value defaults to |
Sample request
curl --location --request POST 'https://secure.trust-provider.com/products/!AutoApplyOrder' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'product=100' \
--data-urlencode 'days=30' \
--data-urlencode 'isCustomerValidated=Y' \
--data-urlencode 'loginName=testuser' \
--data-urlencode 'loginPassword=TestPass123!' \
--data-urlencode 'domainNames=test.com,example.com' \
--data-urlencode '[email protected]' \
--data-urlencode '[email protected],[email protected]' \
--data-urlencode '[email protected]' \
--data-urlencode 'csr=-----BEGIN CERTIFICATE REQUEST-----TESTCSR-----END CERTIFICATE REQUEST-----' \
--data-urlencode 'markLogo=data:image/svg+xml;base64,TESTLOGODATA' \
--data-urlencode 'trademarkCountryName=US' \
--data-urlencode 'trademarkOffice=USPTO' \
--data-urlencode 'trademarkIdentifier=123456789' \
--data-urlencode 'organizationName=Test Org' \
--data-urlencode 'organizationalUnitName=IT' \
--data-urlencode 'postOfficeBox=123' \
--data-urlencode 'streetAddress1=1 Test St' \
--data-urlencode 'streetAddress2=Suite 2' \
--data-urlencode 'streetAddress3=Building 3' \
--data-urlencode 'localityName=Testville' \
--data-urlencode 'stateOrProvinceName=TestState' \
--data-urlencode 'postalCode=12345' \
--data-urlencode 'countryName=US' \
--data-urlencode 'mainTelephoneNumber=5551234567' \
--data-urlencode 'companyNumber=987654321' \
--data-urlencode 'dunsNumber=123456789' \
--data-urlencode 'joiLocalityName=Testville' \
--data-urlencode 'joiStateOrProvinceName=TestState' \
--data-urlencode 'joiCountryName=US' \
--data-urlencode 'assumedName=TestAssumed' \
--data-urlencode 'dateOfIncorporation=2020-01-01' \
--data-urlencode 'businessCategory=b' \
--data-urlencode 'signerTitle=Ms' \
--data-urlencode 'signerForename=Jane' \
--data-urlencode 'signerSurname=Doe' \
--data-urlencode '[email protected]' \
--data-urlencode 'signerCountryName=US' \
--data-urlencode 'signerTelephone=5559876543' \
--data-urlencode 'signerPostOfficeBox=456' \
--data-urlencode 'signerStreetAddress1=2 Signer St' \
--data-urlencode 'signerStreetAddress2=Suite 4' \
--data-urlencode 'signerStreetAddress3=Building 5' \
--data-urlencode 'signerLocalityName=Signerville' \
--data-urlencode 'signerStateOrProvinceName=SignerState' \
--data-urlencode 'signerPostalCode=54321' \
--data-urlencode 'appRepTitle=Prof' \
--data-urlencode 'appRepForename=Sam' \
--data-urlencode 'appRepSurname=Taylor' \
--data-urlencode 'appRepTelephone=5556667777' \
--data-urlencode 'appRepFax=5558889999' \
--data-urlencode 'appRepOrganizationName=AppRep Org' \
--data-urlencode 'appRepOrganizationalUnitName=Legal' \
--data-urlencode 'appRepPostOfficeBox=654' \
--data-urlencode 'appRepStreetAddress1=5 AppRep St' \
--data-urlencode 'appRepStreetAddress2=Suite 10' \
--data-urlencode 'appRepStreetAddress3=Building 11' \
--data-urlencode 'appRepLocalityName=AppRepville' \
--data-urlencode 'appRepStateOrProvinceName=AppRepState' \
--data-urlencode 'appRepPostalCode=11223' \
--data-urlencode 'appRepCountryName=US'