GET
/
yearmakemodeltrims
curl --request GET \
  --url https://commerce.driv.ly/api/yearmakemodeltrims
{
  "data": [
    {
      "trim": "SE",
      "yearMakeModel": {
        "year": 2022,
        "makeModel": {
          "make": "Toyota",
          "model": "Camry"
        }
      },
      "yearMakeModelTrimSpec": [
        "vs_4jf8x9jv5c0b",
        {
          "id": "vs_4jf8x9jv5c0b",
          "model": "Camry",
          "make": "Toyota",
          "squishVin": "4T1BF1FK5HU302396",
          "year": 2022,
          "engine": "2.5L 4-cylinder",
          "drivetrain": "FWD",
          "bodyStyle": "Sedan",
          "transmission": "Automatic",
          "trim": "SE",
          "exteriorColors": [
            "Black",
            "Silver"
          ],
          "interiorColors": [
            "Black",
            "Gray"
          ]
        }
      ]
    }
  ],
  "success": true,
  "page": 2,
  "nextPage": 3,
  "prevPage": 1,
  "totalPages": 3,
  "totalCount": 25,
  "limit": 10,
  "pagingCounter": 11,
  "hasPrevPage": true,
  "hasNextPage": true
}

Query Parameters

depth
integer

The number of levels of related objects to include in the response

sort
string

Pass the name of a top-level field to sort by that field in ascending order. Prefix the name of the field with a minus symbol ("-") to sort in descending order.

limit
number

Limit number of results, default 10

where
object

Search for results fitting criteria, uses qs library for query string parsing

Response

200
application/json

YearMakeModelTrims Found

The response is of type object.