List subaccount products

GET https://www.digicert.com/services/v2/account/subaccount/{{subaccount_id}}/products
Use this endpoint to list detailed product information for a subaccount.

Example requests and responses

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

url = "https://www.digicert.com/services/v2/account/subaccount/{{subaccount_id}}/products"

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

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

print(response.text)
package main

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

func main() {

	url := "https://www.digicert.com/services/v2/account/subaccount/{{subaccount_id}}/products"

	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/account/subaccount/{{subaccount_id}}/products',
  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);
});
{
    "currency": "USD",
    "pricing_method": "custom",
    "balance_negative_limit": "222",
    "products": [
        {
            "product_name_id": "ssl_plus",
            "product_name": "Standard SSL",
            "prices": [
                {
                    "lifetime": 1,
                    "cost": 218,
                    "additional_fqdn_cost": 0,
                    "additional_wildcard_cost": 0
                },
                {
                    "lifetime": 2,
                    "cost": 414,
                    "additional_fqdn_cost": 0,
                    "additional_wildcard_cost": 0
                }
            ]
        },
        {
            "product_name_id": "ssl_multi_domain",
            "product_name": "Multi-Domain SSL",
            "prices": [
                {
                    "lifetime": 1,
                    "cost": 412,
                    "additional_fqdn_cost": 135,
                    "additional_wildcard_cost": 0
                },
                {
                    "lifetime": 2,
                    "cost": 782,
                    "additional_fqdn_cost": 257,
                    "additional_wildcard_cost": 0
                }
            ]
        },
        {
            "product_name_id": "ssl_wildcard",
            "product_name": "WildCard",
            "prices": [
                {
                    "lifetime": 1,
                    "cost": 688,
                    "additional_fqdn_cost": 0,
                    "additional_wildcard_cost": 658
                },
                {
                    "lifetime": 2,
                    "cost": 1307,
                    "additional_fqdn_cost": 0,
                    "additional_wildcard_cost": 1250
                }
            ]
        },
        {
            "product_name_id": "ssl_ev_plus",
            "product_name": "EV SSL",
            "prices": [
                {
                    "lifetime": 1,
                    "cost": 344,
                    "additional_fqdn_cost": 0,
                    "additional_wildcard_cost": 0
                },
                {
                    "lifetime": 2,
                    "cost": 654,
                    "additional_fqdn_cost": 0,
                    "additional_wildcard_cost": 0
                }
            ]
        }
    ]
}
{
  "pricing_method": "units",
  "products": [
    {
      "product_name_id": "ssl_ev_geotrust_truebizid",
      "product_name": "GeoTrust TrueBusiness ID EV"
    },
    {
      "product_name_id": "ssl_ev_securesite_flex",
      "product_name": "Secure Site EV",
      "unit": {
        "limit": 5,
        "balance": 5
      }
    },
    {
      "product_name_id": "ssl_ev_securesite_pro",
      "product_name": "Secure Site Pro EV SSL",
      "unit": {
        "limit": 5,
        "balance": 5
      }
    },
    {
      "product_name_id": "ssl_geotrust_truebizid",
      "product_name": "GeoTrust TrueBusiness ID OV"
    },
    {
      "product_name_id": "ssl_securesite_flex",
      "product_name": "Secure Site OV",
      "unit": {
        "limit": 5,
        "balance": 5
      }
    },
    {
      "product_name_id": "ssl_securesite_pro",
      "product_name": "Secure Site Pro SSL",
      "unit": {
        "limit": 5,
        "balance": 5
      }
    }
  ]
}

Response parameters

NameTypeDescription
currencystringCurrency code used to display pricing to subaccount.
Possible values: See Glossary – Subaccount display currencies.
pricing_methodstringPricing method used by the subaccount
Possible values: default, custom, units
balance_negative_limitintDollar amount that the account balance can go into the negative.
productsarray of objectsList of products enabled for the subaccount.
.. product_name_idstringProduct name ID. See Glossary – Product identifiers.
.. product_namestringDisplay name of the product.
.. product_shim_maparray of objectsIf the product has legacy products shimmed to it, the product object returns a product_shim_map array. This array is a list of objects with the product_name_id and product_name for each legacy product shimmed to the returned product.
.. .. product_name_idstringProduct name ID of the legacy product that is shimmed to the returned product.
.. .. product_namestringName of the legacy product that is shimmed to the returned product.
.. pricesarray of objectsList of prices for the product. Only returns if the subaccount contains units.
.. .. lifetimeintValidity term in years that the pricing applies to.
.. .. costintBase price of the product.
.. .. additional_fqdn_costintCost for each additional domain name (SAN) added to the order.
.. .. additional_wildcard_costintCost for each additional wildcard domain (e.g., *.example.com) added to the order.
.. unitobjectList of unit details.
.. .. limitintNumber of units authorized for account.
.. .. balanceintNumber of units available.