cURL
curl --request PATCH \ --url https://commerce.driv.ly/api/contacts/{id} \ --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 }
Contact is uniquely identified by id
The number of levels of related objects to include in the response
Contact Updated
The response is of type object.
object