GET
/
yearmakemodels
/
{make}
/
{model}
/
{year}
Retrieve a YearMakeModel
curl --request GET \
  --url https://commerce.driv.ly/api/yearmakemodels/{make}/{model}/{year}
{
  "data": {
    "year": 2022,
    "makeModel": {
      "make": "Toyota",
      "model": "Camry"
    }
  },
  "success": true
}

Path Parameters

make
string
required

YearMakeModel is uniquely identified by MakeModel

model
string
required

YearMakeModel is uniquely identified by MakeModel

year
integer
required

YearMakeModel is uniquely identified by Year

Query Parameters

depth
integer

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

Response

YearMakeModel Found

data
object

MakeModel was manufactured for Year

Examples:
{
"year": 2022,
"makeModel": { "make": "Toyota", "model": "Camry" }
}
success
boolean