Get a single customer
GET https://api.ecartapi.com/api/v2/customers/{{id}}
Searches for the selected customer and shows detailed information.
Important information:
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"success":true,"customer":{"id":"1","email":"pub@prestashop.com","firstName":"John","lastName":"DOE","status":null,"note":null,"phone":null,"currency":null,"addresses":[{"id":"1","firstName":"John","lastName":"DOE","address1":"16, Main street","address2":"2nd floor","country":{"code":"FR","name":"France"},"state":{"code":null,"name":null},"city":"Paris","postalcode":"75002","phone":"0102030405","company":"My Company","references":null,"defaultBilling":null,"defaultShipping":null},{"id":"4","firstName":"John","lastName":"DOE","address1":"16, Main street","address2":"2nd floor","country":{"code":"US","name":"United States"},"state":{"code":null,"name":null},"city":"Miami","postalcode":"33133","phone":"0102030405","company":"My Company","references":null,"defaultBilling":null,"defaultShipping":null}],"createdAt":"2019-01-11 18:11:35","updatedAt":"2019-01-11 18:11:35"}}