Update VMC order

PUT
https://www.digicert.com/services/v2/order/certificate/{{order_id}}/vmc

Use this endpoint to update the trademark country or registration number for a pending Verified Mark Certificate order.

Changing the trademark country or registration number updates the trademark information for all pending orders that use the same logo.

Example requests and responses

cURL
curl --request PUT 'https://www.digicert.com/services/v2/order/certificate/144457106/vmc' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "trademark_country_code" : "au",
    "trademark_registration_number" : "C1234-D1234"
}'
Python
import requests
import json

url = "https://www.digicert.com/services/v2/order/certificate/144457106/vmc"

payload = json.dumps({
  "trademark_country_code": "au",
  "trademark_registration_number": "C1234-D1234"
})
headers = {
  'X-DC-DEVKEY': {{api_key}},
  'Content-Type': 'application/json'
}

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

print(response.text)
Go
package main

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

func main() {

		url := "https://www.digicert.com/services/v2/order/certificate/144457106/vmc"
		method := "PUT"

		payload := strings.NewReader(`{
    "trademark_country_code" : "au",
    "trademark_registration_number" : "C1234-D1234"
}`)

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

		if err != nil {
				fmt.Println(err)
				return
		}
		req.Header.Add("X-DC-DEVKEY", {{api_key}})
		req.Header.Add("Content-Type", "application/json")

		res, err := client.Do(req)
		if err != nil {
				fmt.Println(err)
				return
		}
		defer res.Body.Close()

		body, err := ioutil.ReadAll(res.Body)
		if err != nil {
				fmt.Println(err)
				return
		}
		fmt.Println(string(body))
}
NodeJS
var request = require('request');
var options = {
  'method': 'PUT',
  'url': 'https://www.digicert.com/services/v2/order/certificate/144457106/vmc',
  'headers': {
    'X-DC-DEVKEY': {{api_key}},
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "trademark_country_code": "au",
    "trademark_registration_number": "C1234-D1234"
  })

};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});
204 No Content
// empty

Path parameters

Name Req/Opt Description
order_id required ID of a pending order for a Verified Mark Certificate.

Request parameters

Name Req/Opt Type Description
trademark_country_code optional string Two-letter code for the country or region where the logo is trademarked.
Allowed values:
  • us – United States
  • ca – Canada
  • em – European Trademark Office
  • gb – Great Britain
  • de – Germany
  • jp – Japan
  • au – Australia
  • es – Spain
trademark_registration_number optional string Trademark registration number of the logo.