order_details_by_id

QUERY https://www.digicert.com/services/v2/reports/query

Use this query to get specific details for a single certificate order.

Example requests and responses

GraphQL

{
    order_details_by_id(id:123456) {
        id
        common_name
        dns_names
        organization_id
        status
        valid_from
        valid_till
    }
}

200 OK

{
    "data": {
        "order_details_by_id": {
            "id": "123456",
            "common_name": "example.com",
            "dns_names": "sub.example.com,www.example.com",
            "organization_id": "112233",
            "status": "issued",
            "valid_from": "2019-10-04",
            "valid_till": "20Ω20-10-08"
        }
    }
}

Arguments

NameReq/OptTypeDescription
idrequiredintID of the order to get details for.

Fields

NameTypeDescription
account_idstringAccount ID associated with the order.
additional_emailsstringAdditional email addresses on the order.
agreement_idstringID of the CSA agreed to.
auto_renewstringSpecify if the certificate should automatically renew.
Possible values: 0 (disabled), 1 (enabled)
ca_cert_idstringID of the issuing certificate authority.
certificate_tracker_idstringCertificate ID.
common_namestringName secured by the certificate.
contacts_emailstringOrganization contact email address.
container_idstringContainer ID of the order.
container_namestringContainer name of the order.
coststringOrder cost.
csrstringCertificate signing request (CSR).
custom_renewal_messagestringCustom message included in renewal notifications.
customer_order_idstringCustomer order ID.
date_createdstringDate the order was placed.
Format:
yyyy-MM-dd HH:mm:ss
dcv_methodstringDomain control validation method configured for the domain. See Glossary – DCV methods.
disable_issuance_emailstringSpecifies if issuance emails are sent.
Possible values: 0 (false), 1 (true)
disable_renewal_notificationsstringSpecifies if renew notifications are enabled.
Possible values: 0 (false), 1 (true)
dns_namesstringComma separated list of additional names secured by the certificate.
emailstringIf certificate has an embedded email address (e.g., client certificates), returns the email address on the certificate.
firstnamestringFirst name of organization contact.
has_duplicatesintSpecifies if the certificate has duplicates.
Possible values: 0 (false), 1 (true)
idstringOrder ID.
is_out_of_contractstringContract status of the order.
Possible values: 0 (false), 1 (true)
is_renewedstringSpecifies if the order has been renewed.
Possible values: 0 (false), 1 (true)
issuer_common_namestringFriendly name of the issuing certificate authority.
job_titlestringJob title of the organization contact.
lastnamestringLast name of the organization contact.
localestringLocale of the order. See Glossary – Locale codes.
metadatastringCustom field details.
Format:
{{metadata_id}}
{{metadata_label}}
{{metadata_value}}
Data separator:
0x1f
org_addr1stringOrganization address.
org_addr2string
organization_citystringCity where the organization is located.
organization_countrystringCountry where the organization is located.
organization_idstringOrganization ID associated with the order.
organization_namestringOrganization name.
organization_statestringState where the organization is located.
organization_unitstringOrganization units on the certificate.
pay_typestringPayment method used for the order.
Possible values: A (account balance), C (credit card)
plus_featurestringSpecifies if plus feature is enabled for the order.
Possible values: 0 (disabled), 1 (enabled)
product_idstringID of the product.
product_namestringDisplay name of the product. See Glossary – Product identifiers.
product_name_idstringName ID of the product. See Glossary – Product identifiers.
product_typestringProduct type. See Glossary – Product types.
purchased_dns_namesstringNumber of additional SANs purchased.
receipt_idstringReceipt ID.
RenewedstringSpecifies if the order has been renewed.
Possible values: FALSE, TRUE
renewed_order_idstringOrder ID of the previous order. Returned only if order is a renewal.
serial_numberstringSerial number of the certificate.
server_platform_idstringServer platform ID. See Glossary – Server platforms.
signature_hashstringSignature hash used to sign the certificate request.
statusstringOrder status. See Glossary – Order status.
telephonestringPhone number of organization contact.
thumbprintstringThumbprint of the certificate.
user_assignmentsstringID of the user assigned to the order.
user_emailstringEmail address of user that requested the certificate.
user_first_namestringFirst name of user that requested the certificate.
user_idstringID of the user that placed the order.
user_last_namestringLast name of user that requested the certificate.
valid_fromstringDate when certificate validity starts.
Format:
yyyy-MM-dd
valid_tillstringDate when certificate validity ends.
Format:
yyyy-MM-dd
validity_yearsstringNumber of years the certificate is valid.

Response parameters

NameTypeDescription
dataobjectContainer for returned query data.
.. order_details_by_idobjectContainer for queried fields.
.. .. {{field}}-Queried field and value. Returned fields dependent on sent query.