Update VMC or CMC orders

PUT https://www.digicert.com/services/v2/order/certificate/144457106/vmc
Use this endpoint to change the hosting settings for a pending or issued order.

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 '{
    "mark_type_data": {
      "country_code": "au",
      "registration_number": "C1234-D1234"
    }
}'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 '{
    "enable_hosting": "1"        
}'

204 No Content

// empty

Path parameters

NameReq/OptDescription
order_idrequiredVMC or CMC order ID.

Request parameters

NameReq/OptTypeDescription
enable_hostingoptionalboolIf 1, DigiCert hosts the image and certificate files. Otherwise, 0 (default).
When image and certificate file hosting is enabled, the Order info](/certcentral-apis/services-api/orders/order-info.html) endpoint returns the location of the hosted files in the hosted_logo_location and hosted_cert_location response parameters.
[Learn more about VMC or CMC image and file hosting
.