cURL
curl --request PATCH \ --url https://commerce.driv.ly/api/customers/{id} \ --header 'Content-Type: application/json' \ --data ' { "id": "<string>", "addresses": [ "<string>" ], "phoneNumbers": [ "<string>" ] } '
{ "data": { "id": "<string>", "addresses": [ "<string>" ], "phoneNumbers": [ "<string>" ] }, "success": true }
Customer is uniquely identified by id
The number of levels of related objects to include in the response
Customer is located at Addresses
Customer has Phone Number
^\+?1?[- ]?\(?([0-9]{3})\)?[- ]?([0-9]{3})-?([0-9]{4})$
Customer Updated
Show child attributes