GET
/
yearmakemodeltrims
/
{make}
/
{model}
/
{year}
/
{trim}
curl --request GET \
  --url https://commerce.driv.ly/api/yearmakemodeltrims/{make}/{model}/{year}/{trim}
{
  "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
}

Path Parameters

make
string
required

YearMakeModelTrim is uniquely identified by YearMakeModel

model
string
required

YearMakeModelTrim is uniquely identified by YearMakeModel

year
integer
required

YearMakeModelTrim is uniquely identified by YearMakeModel

trim
string
required

YearMakeModelTrim is uniquely identified by Trim

Query Parameters

depth
integer

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

Response

200
application/json

YearMakeModelTrim Found

The response is of type object.