GET
/
listings
/
{id}
curl --request GET \
  --url https://commerce.driv.ly/api/listings/{id}
{
  "data": {
    "id": "lst_k3j5s9qj3w0d",
    "dealer": "dlr_4dk39dkl3d93",
    "vehicle": "veh_3k12j9qksdf0",
    "vhrUrls": [
      "https://example.com/vhr.pdf"
    ],
    "odometer": 15000,
    "ownerCount": 1,
    "attachments": [],
    "accidentCount": 0,
    "vehicleRating": 8,
    "initialOfferDate": "2022-05-10",
    "retailBuyNowPrice": 35000,
    "retailAskingPrice": 34000,
    "wholesaleBuyNowPrice": 30000,
    "wholesaleMinimumBidPrice": 28000,
    "wholesaleMaximumBidPrice": 32000
  },
  "success": true
}

Path Parameters

id
string
required

Listing is uniquely identified by id

Query Parameters

depth
integer

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

Response

200
application/json

Listing Found

The response is of type object.