cURL
curl --request PATCH \ --url https://commerce.driv.ly/api/consumers/{id} \ --header 'Content-Type: application/json' \ --data '{ "id": "con_2k4jd93vsd82", "ssn": "123-45-6789", "email": "john.doe@example.com", "lastName": "Doe", "birthDate": "1984-09-20", "firstName": "John", "phoneNumber": "555-0199" }'
{ "data": { "id": "con_2k4jd93vsd82", "ssn": "123-45-6789", "email": "john.doe@example.com", "lastName": "Doe", "birthDate": "1984-09-20", "firstName": "John", "phoneNumber": "555-0199" }, "success": true }
Customer is uniquely identified by id
The number of levels of related objects to include in the response
Consumer Updated
The response is of type object.
object