Product info

GET https://www.digicert.com/services/v2/product/{{name_id}}
Use this endpoint to get information about a product.

CertCentral account administrators can customize some of the properties for each product at the container (or division) and user role level. For customizable properties, the Product info response returns the current product settings based on the user who submits the request and the container identified in the URL query. If there are no customized product settings for any container or user role in your account, the Product info response returns the same values for every user and container ID.

Example requests and responses

curl -X GET \
  https://www.digicert.com/services/v2/product/{{name_id}} \
  -H 'Content-Type: application/json' \
  -H 'X-DC-DEVKEY: {{api_key}}'
import requests

url = "https://www.digicert.com/services/v2/product/{{name_id}}"

headers = {
    'X-DC-DEVKEY': "{{api_key}}",
    'Content-Type': "application/json"
    }

response = requests.request("GET", url, headers=headers)

print(response.text)
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://www.digicert.com/services/v2/product/{{name_id}}"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-DC-DEVKEY", "{{api_key}}")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
var request = require("request");

var options = { method: 'GET',
  url: 'https://www.digicert.com/services/v2/product/{{name_id}}',
  headers: 
   { 'Content-Type': 'application/json',
     'X-DC-DEVKEY': '{{api_key}}' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});

200 OK

{
  "group_name": "ssl_certificate",
  "name_id": "ssl_basic",
  "name": "Basic OV",
  "type": "ssl_certificate",
  "validation_type": "OV",
  "duplicates_allowed": true,
  "allowed_validity_years": [
    1
  ],
  "allowed_order_validity_years": [
    1,
    2,
    3
  ],
  "max_multi_year_order_validity_years": 3,
  "signature_hash_types": {
    "allowed_hash_types": [
      {
        "id": "sha256",
        "name": "SHA-256"
      },
      ...
    ],
    "default_hash_type_id": "sha256"
  },
  "additional_dns_names_allowed": true,
  "increased_compatibility_allowed": true,
  "custom_expiration_date_allowed": true,
  "custom_order_expiration_date_allowed": true,
  "csr_required": true,
  "allow_auto_renew": true,
  "allow_auto_reissue": true,
  "allowed_wildcards": true,
  "server_platforms": [
    {
      "id": 2,
      "name": "Apache",
      "install_url": "http://www.digicert.com/ssl-certificate-installation-apache.htm",
      "csr_url": "http://www.digicert.com/csr-creation-apache.htm",
      "best_format": "apache"
    },
    ...
  ],
  "license_agreement": "https://www.digicert.com/master-services-agreement"
}

URL query strings

NameReq/OptDescription
container_idconditionalID of a container (or division) in your account. Use this parameter to return product information for a specific container.
Omit the container_id query string if:

Response parameters

NameTypeDescription
group_namestringGroup to which the product belongs. See Glossary – Product group names.
name_idstringProduct identifier. See Glossary – Product identifiers.
namestringDisplay name of the product.
typestringProduct type. See Glossary – Product types.
validation_typestringValidation type for the product.
Not returned for all products.
Possible values:
duplicates_allowedbooleanSpecifies if the product supports duplicates.
allowed_validity_yearsarrayList of numbers. Each number is a certificate validity period (in years) you can select when submitting a certificate order request for the product.
The values in this list are based on the product settings for the user who submits the request and the container identified in the URL query. To see the full range of certificate validity periods each product supports, use the allowed_validity_years array in the Product list response.
allowed_order_validity_yearsarrayList of numbers. Each number is an order validity period (in years) you can select when submitting a certificate order request for the product.
The values in this list are based on the product settings for the user who submits the request and the container identified in the URL query. To see the full range of order validity periods each product supports, use the allowed_order_validity_years array in the Product list response.
max_multi_year_order_validity_yearsintegerMaximum number of years that can be requested on a Multi-year Plan for the product.
Only returned for products that support Multi-year Plans.
signature_hash_typesobjectContainer for signature hash info.
.. allowed_hash_typesarrayList of allowed hash types for the product.
.. .. idstringHash identifier. See Glossary – Hash types.
.. .. namestringHash name.
.. default_hash_type_idstringDefault hash type used for the product.
allowed_ca_certsarrayList of objects. Each object includes the name, ID, and certificate chain information for an issuing intermediate certificate authority (ICA) certificate you can select when ordering the product.
Note: We only return this parameter for public DV, OV, and EV products if:
CertCentral account administrators can customize the ICAs that users with different role and container assignments can select when placing an order for a given product. In the Product info response, the allowed_ca_certs array only returns information about the ICAs you are allowed to select. To get a list of all ICAs that may issue end-entity certificates for a given product, including ICAs that are disabled for certain containers or user roles in your account, see the allowed_ca_certs array in the Product list](/certcentral-apis/services-api/orders/order-client-certificate.html) response.
[Learn more about ICA certificate chain selection for public TLS certificates
.. idstringID of the ICA certificate.
In certificate order requests, this ID is the value of the ca_cert_id request parameter.
.. namestringName of the ICA certificate.
.. chain_infostringDetails about the ICA certificate chain.
default_intermediatestringID of the default issuing ICA for the product.
Only returned for products that support ICA selection, and only if an administrator has customized a product setting for a division or user role in the account. Additionally, this parameter is only returned if ICA selection is enabled for the account. Learn more about ICA certificate chain selection for public TLS certificates.
additional_dns_names_allowedbooleanSpecifies if the product allows additional DNS names.
increased_compatibility_allowedbooleanSpecifies if the product allows for increased compatibility options. See DigiCert SSL Compatibility
custom_expiration_date_allowedbooleanIf true, you can use a custom expiration date to set the certificate validity period for this type of product. Otherwise, false.
custom_order_expiration_date_allowedbooleanIf true, you can use a custom expiration date to set the order validity period for this type of product. Otherwise, false.
csr_requiredbooleanSpecifies if a CSR is required when requesting the product type.
allow_auto_renewbooleanIf true, automatic certificate renewal requests (auto-renew) can be enabled for the product. Otherwise, false.
allow_auto_reissuebooleanIf true, automatic certificate reissue requests (auto-reissue) can be enabled for the product. Otherwise, false.
server_platformsarrayList of server platforms compatible with the product.
.. idintegerServer platform ID. See Glossary – Server platforms.
.. namestringName of the server platform.
.. install_urlstringInstallation instructions URL.
.. csr_urlstringCSR creation instructions URL.
.. best_formatstringDefault certificate format returned for server platform. See Glossary – Certificate formats.
license_agreementstringVery long string that contains the Certificate Services Agreement text.