Orders

List an order's vehicles

Changed on

Returns the caller-owned ordered vehicles under one of the caller's orders, newest first.

get/orders/{order}/vehicles

Request

  • Base URL: https://api.ekho.com
  • URL: https://api.ekho.com/orders/{order}/vehicles
  • Auth: HTTP bearer

Path parameters

orderstring required
Example:Tn6Kv2sBjW8pRc4yLm9D

Query parameters

limitinteger

Page size, 1 to 100.

Example:20
starting_afterstring

Return the page after this resource id (newest first).

expand[]string[]

Repeatable. buyer includes the buyer (with PII); payments includes the buyer's payments and requires payments:read; payouts includes the caller's payouts and requires payouts:read.

Response

A page of ordered vehicles.

has_moreboolean required

True when another page follows the returned one.

next_cursorstring nullable required

Pass as starting_after to fetch the next page; null when has_more is false.

Example response

{
  "data": [
    {
      "id": "Wd5Fy9nJcQ3rXt7bLm2P"
    }
  ]
}

Changes

    • breaking

      the ///// response's property type changed from string to integer for status

    • info

      added the required property /// to the response with the status