curl --request POST \
--url https://commerce.driv.ly/api/accounts \
--header 'Content-Type: application/json' \
--data '{
"id": "acc_0jk3v58djsi1",
"lead": "Lead ID",
"consumer": "Consumer ID",
"anonymousIds": [
"anon_4598kdjv9390",
"anon_4598kdjv9391"
]
}'
{
"data": {
"id": "acc_0jk3v58djsi1",
"lead": "Lead ID",
"consumer": "Consumer ID",
"anonymousIds": [
"anon_4598kdjv9390",
"anon_4598kdjv9391"
]
},
"success": true
}
curl --request POST \
--url https://commerce.driv.ly/api/accounts \
--header 'Content-Type: application/json' \
--data '{
"id": "acc_0jk3v58djsi1",
"lead": "Lead ID",
"consumer": "Consumer ID",
"anonymousIds": [
"anon_4598kdjv9390",
"anon_4598kdjv9391"
]
}'
{
"data": {
"id": "acc_0jk3v58djsi1",
"lead": "Lead ID",
"consumer": "Consumer ID",
"anonymousIds": [
"anon_4598kdjv9390",
"anon_4598kdjv9391"
]
},
"success": true
}
The number of levels of related objects to include in the response
Account Created
The response is of type object
.