GET
/
dealers
/
{id}
Retrieve a Dealer
curl --request GET \
  --url https://commerce.driv.ly/api/dealers/{id}
{
  "data": {
    "location": {
      "latitude": 39.7487,
      "longitude": -104.999
    },
    "addresses": [
      {
        "city": {
          "name": "Denver",
          "state": {
            "code": "CO"
          }
        },
        "zip": "80202",
        "line2": "Suite 400",
        "line1": "100 Business Park Ave"
      }
    ]
  },
  "success": true
}

Path Parameters

id
string
required

Customer is uniquely identified by id

Query Parameters

depth
integer

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

Response

Dealer Found

data
object
Examples:
{
"location": {
"latitude": 39.7487,
"longitude": -104.999
},
"addresses": [
{
"city": {
"name": "Denver",
"state": { "code": "CO" }
},
"zip": "80202",
"line2": "Suite 400",
"line1": "100 Business Park Ave"
}
]
}
success
boolean