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 -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}}'
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)
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))
}
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);
});
{
"id": 1234
}
Name | Type | Description |
---|---|---|
id | integer |
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. |