Customer Update
PUT https://api.ecartapi.com/api/v2/customers/{{id}}
Updatethe selected costumer's information.
Important information:
Request Body
{"customer"=>{"email"=>"test@envia.com", "firstName"=>"Alejandro", "lastName"=>"de la Cruz Martinez", "note"=>"Customer is a great guy"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |
RESPONSES
status: OK
{"success":true,"customer":{"id":"19","email":"test@envia.com","firstName":"Alex","lastName":"de la Cruz Martinez","status":null,"note":"Customer is a great guy","phone":null,"currency":null,"addresses":[],"createdAt":"2019-05-22 13:35:14","updatedAt":"2019-05-22 13:53:44"}}