cURL
curl --request GET \ --url https://commerce.driv.ly/api/leads/{id}
{ "data": { "id": "<string>", "phoneNumber": "<string>", "email": "<string>", "salesRep": "<string>", "consumer": "<string>", "favorites": [ "<string>" ], "acceptsGeneratedMessages": true }, "success": true }
Lead is uniquely identified by id
The number of levels of related objects to include in the response
Lead Found
Show child attributes
Lead has Phone Number
Lead has Email
Sales Rep is assigned to Lead
Lead participates in transactions as Consumer
Lead favorites Vehicle
Lead accepts generated messages