Unit order details


Use this endpoint to get information about a unit order.

Example requests and responses

curl --request GET 'https://www.digicert.com/services/v2/units/order/1234' \
--header {{api_key}} \
--header 'Content-Type: application/json' \
import requests

url = "https://www.digicert.com/services/v2/units/order/1234"

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

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

package main

import (

func main() {

		url := "https://www.digicert.com/services/v2/units/order/1234"
		method := "GET"

		client := &http.Client {
		req, err := http.NewRequest(method, url, nil)

		if err != nil {
		req.Header.Add("X-DC-DEVKEY", {{api_key}})
		req.Header.Add("Content-Type", "application/json")
		res, err := client.Do(req)
		defer res.Body.Close()
		body, err := ioutil.ReadAll(res.Body)

var request = require('request');
var options = {
  'method': 'GET',
  'url': 'https://www.digicert.com/services/v2/units/order/1234',
  'headers': {
    'X-DC-DEVKEY': {{api_key}},
    'Content-Type': 'application/json'
request(options, function (error, response) {
  if (error) throw new Error(error);
200 OK
    "id": 1234,
    "unit_account_id": 1234567,
    "unit_account_name": "Example subaccount",
    "bundle": [
        "product_name_id": "ssl_securesite_flex",
        "product_name": "Secure Site OV",
        "units": 5,
        "cost": 1995.00
        "product_name_id": "ssl_ev_securesite_flex",
        "product_name": "Secure Site EV",
        "units": 20,
        "cost": 19900.00
    "cost": 21895.00,
    "status": "completed",
    "expiration_date": "2022-01-11",
    "created_date": "2021-01-11 09:34:56",
    "can_cancel": true

Response parameters

Name Type Description
id integer ID of the unit order.
unit_account_id integer Account ID of the subaccount on the order.
unit_account_name string Name of the subaccount on the order.
bundle array List of objects with details about the cost and number of units purchased for each type of product on the order.
.. product_name_id string Unique identifier for the product.
Possible values: See Glossary - Product identifiers.
.. product_name string Name of the product.
.. units integer Number of units ordered for the product.
.. cost double Cost for this bundle of units.
cost double Total order cost.
status string Order status.
Possible values: completed, canceled
expiration_date string Expiration date of the units.
Format: YYYY-MM-DD
created_date string Creation timestamp for the order.
Format: YYYY-MM-DD hh:mm:ss
can_cancel boolean If true, you can cancel the order. Otherwise, false.