Skip to main content

List Orders

Purpose: Retrieves a list of orders associated with a specific client, optionally filtered by status or date range.


Endpoint Details

  • HTTP Verb: GET
  • URL Segment: /v3/clients/{clientid}/orders
  • OpenAPI Spec: View in Swagger UI
  • Notes: Defaults to listing orders from the past 30 days if fromDate and toDate are not provided.

Query Parameters

This method uses parameters passed in the URL query string to filter the list.

Field NameDescriptionTypeAdditional Information
clientIdThe unique ID of the client whose orders are to be listed.string ($uuid)Required.
orderStatusFilters the list to orders matching this status.stringOptional. Enum values are defined in the OrderResponse Schema.
fromDateThe start date to filter orders by their createDate.string ($date-time)Optional. Defaults to 30 days prior to toDate if toDate is present.
toDateThe end date to filter orders by their createDate.string ($date-time)Optional. Defaults to the current date/time if fromDate is present.

Request Body

No Request Body Required.


Successful Response (200 OK)

The API returns an array of OrderResponse objects. Each OrderResponse object in the array contains a retrieved Order entity

For schema and examples, see the OrderResponse Schema page.


Error Responses

The following HTTP status codes are explicitly documented for this method:

Status CodeDescription
400 Bad RequestThe request was invalid (e.g., date formats are incorrect, or the combination of date filters is illogical).
401 UnauthorizedAuthentication failure (e.g., missing or invalid API key/credentials).
404 Not FoundThe specified clientId exists, but no orders were found that match the provided criteria.