Skip to main content
GET
/
accounts
/
{id}
Retrieve an Account
curl --request GET \
  --url https://commerce.driv.ly/api/accounts/{id}
{
  "data": {
    "id": "acc_0jk3v58djsi1",
    "lead": "Lead ID",
    "consumer": "Consumer ID",
    "anonymousIds": [
      "anon_4598kdjv9390",
      "anon_4598kdjv9391"
    ]
  },
  "success": true
}

Path Parameters

id
string
required

Account is uniquely identified by id

Query Parameters

depth
integer

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

Response

Account Found

data
object
Examples:
{
"id": "acc_0jk3v58djsi1",
"lead": "Lead ID",
"consumer": "Consumer ID",
"anonymousIds": ["anon_4598kdjv9390", "anon_4598kdjv9391"]
}
success
boolean
I