DigiCert order ID

GET
https://www.digicert.com/services/v2/oem-migration/{{legacy_order_id}}/order-id

Use this endpoint to get the DigiCert certificate order ID for a migrated, legacy SSL/TLS certificate order. legacy_order_id is your Symantec or GeoTrust* SSL/TLS certificate order ID.

*If you are a partner, you don't have access to the Symantec order ID for your GeoTrust SSL/TLS certificates orders. However, you can use the GeoTrust order ID to get the DigiCert order ID for your migrated GeoTrust certificate orders.

When you migrate active, public SSL/TLS certificate orders to your new CertCentral account, we assign a unique DigiCert order ID to each migrated legacy certificate order. For more information, see What you need to know about domain and certificate migration.

cURL
curl -X GET \
  'https://www.digicert.com/services/v2/oem-migration/{{legacy_order_id}}/order-id' \
  -H 'Content-Type: application/json' \
  -H 'X-DC-DEVKEY: {{api_key}}'
Python
import requests

url = "https://www.digicert.com/services/v2/oem-migration/{{legacy_order_id}}/order-id"

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

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

print(response.text)
Go
package main

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

func main() {

	url := "https://www.digicert.com/services/v2/oem-migration/{{legacy_order_id}}/order-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))

}
NodeJS
var request = require("request");

var options = { method: 'GET',
  url: 'https://www.digicert.com/services/v2/oem-migration/{{legacy_order_id}}/order-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
{
    "id": 1234
}

Response parameters

Name Type Description
id string DigiCert certificate order ID DigiCert certificate order ID
Note: When the GeoTrust certificate order ID is used, we return the most current DigiCert certificate order ID.