--- title: "DigiCert order ID" source_url: https://dev.digicert.com/certcentral-apis/services-api/legacy-migration/digicert-order-id.html api_method: GET api_endpoint: "/services/v2/oem-migration/{{legacy_order_id}}/order-id" api_url: "https://www.digicert.com/services/v2/oem-migration/{{legacy_order_id}}/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. > **Important** > > *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 the CertCentral product documentation. ## Example requests and responses **cURL** ```bash 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** ```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** ```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** ```javascript 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 ```json { "id": 1234 } ``` ## Response parameters
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.