Inventory

Retrieve an inventory unit

Changed on

Returns a single unit by its Ekho inventory id. A unit outside the token's reach returns the same 404 as an unknown id. Year, make, model, category, and type describe the model rather than the unit, so they live on the always-present catalog_vehicle block rather than on the item itself.

get/inventory/{item}

Request

  • Base URL: https://api.ekho.com
  • URL: https://api.ekho.com/inventory/{item}
  • Auth: HTTP bearer

Path parameters

itemstring required
Example:Kj7Xp2mQvR4tLw9dZa3B

Query parameters

expand[]string[]

Repeatable. Expand location for the rooftop holding the unit and who to contact about it.

Response

The requested inventory unit.

Example response

{
  "data": {
    "id": "Kj7Xp2mQvR4tLw9dZa3B",
    "odometer": {
      "unit": "mi"
    },
    "pricing": {
      "advertised": 14995,
      "compare_at": 16495
    }
  }
}

Changes

    • warning

      added the new external_id_in_use enum value to the response property for the response status

    • warning

      added the new external_id_in_use enum value to the response property for the response status

    • warning

      added the new external_id_in_use enum value to the response property for the response status

    • warning

      added the new external_id_in_use enum value to the response property for the response status

    • warning

      added the new external_id_in_use enum value to the response property for the response status

    • warning

      added the new external_id_in_use enum value to the response property for the response status

    • warning

      added the new requires_ekho_review enum value to the response property for the response status

    • warning

      added the new requires_ekho_review enum value to the response property for the response status

    • warning

      added the new requires_ekho_review enum value to the response property for the response status

    • warning

      added the new requires_ekho_review enum value to the response property for the response status

    • warning

      added the new requires_ekho_review enum value to the response property for the response status

    • warning

      added the new requires_ekho_review enum value to the response property for the response status

    • warning

      added the new resource_not_writable enum value to the response property for the response status

    • warning

      added the new resource_not_writable enum value to the response property for the response status

    • warning

      added the new resource_not_writable enum value to the response property for the response status

    • warning

      added the new resource_not_writable enum value to the response property for the response status

    • warning

      added the new resource_not_writable enum value to the response property for the response status

    • warning

      added the new resource_not_writable enum value to the response property for the response status

    • info

      added the required property / to the response with the status

    • info

      endpoint added