Skip to main content

List unit orders

GET https://www.digicert.com/services/v2/units/order

Use this endpoint to get a list of unit orders.

Example requests and responses

Filters and URL query parameters

This endpoint supports filters, sorting, and pagination. For general information and examples of the syntax to use when applying filters and sorting results, see Services API - Filters, sorting, and pagination parameters.

Name

Req/Opt

Type

Description

filters[{{property_name}}]

optional

string

Filters results by the specified property.

Replace {{property_name}} in your request with the property to use for filtering. This endpoint supports filtering by the following properties:

  • filters[unit_account_id]

  • filters[status]

sort

optional

string

Sorts results by the value of one or more properties.

By default, sorts results in ascending alphabetical order (0-9, A-Z). To sort in descending alphabetical order (9-0, Z-A), prefix the property name with a minus (-).

To sort by multiple properties, separate the name of each property with a comma. Sort hierarchy matches the order of properties in this list.

This endpoint supports sorting by the following properties:

  • id

  • unit_account_id

  • unit_account_name

  • cost

  • status

  • expiration_date

  • created_date

offset

optional

integer

Index of the first result to include in the response.

Default: 0

limit

optional

integer

Total number of results to include in the response.

Max: 1000 (default)

Response parameters

Name

Type

Description

orders

array

List of objects with details for each unit order.

.. id

integer

ID of the order.

.. unit_account_id

integer

Account ID of the subaccount on the order.

.. unit_account_name

string

Name of the subaccount on the order.

.. cost

double

Total order cost.

.. currency

string

Currency unit for order cost.

.. status

string

Order status.

Possible values: completed, canceled

.. expiration_date

string

Expiration date of the units.

Format: YYYY-MM-DD

.. created_date

string

Creation timestamp for the order.

Format: YYYY-MM-DD hh:mm:ss

page

object

Pagination details for the results. Modified using URL query strings.