curl --request POST \
--url https://commerce.driv.ly/api/contacts \
--header 'Content-Type: application/json' \
--data '{
"id": "cnt_8dk3j2ksl9d2",
"roles": [
"Manager",
"Sales"
],
"lastName": "Smith",
"firstName": "Alice"
}'
{
"data": {
"id": "cnt_8dk3j2ksl9d2",
"roles": [
"Manager",
"Sales"
],
"lastName": "Smith",
"firstName": "Alice"
},
"success": true
}
curl --request POST \
--url https://commerce.driv.ly/api/contacts \
--header 'Content-Type: application/json' \
--data '{
"id": "cnt_8dk3j2ksl9d2",
"roles": [
"Manager",
"Sales"
],
"lastName": "Smith",
"firstName": "Alice"
}'
{
"data": {
"id": "cnt_8dk3j2ksl9d2",
"roles": [
"Manager",
"Sales"
],
"lastName": "Smith",
"firstName": "Alice"
},
"success": true
}
The number of levels of related objects to include in the response
Contact Created
The response is of type object
.