Logo
Ecartapi.com Public API Documentation

Get single customer

GET https://api.ecartapi.com/api/v2/customers/{{id}}

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Authorization
string




RESPONSES

status OK

{ "success": true, "customer": { "id": "160079467", "email": "example@example.com", "firstName": "Eugene K", "lastName": null, "status": { "id": null, "status": null }, "note": null, "phone": null, "currency": null, "addresses": [ { "id": null, "firstName": "Eugene K", "lastName": null, "address1": null, "address2": null, "country": { "code": null, "name": null, "codeIso2": null, "codeIso3": null }, "state": { "code": null, "name": null, "codeIso2": null, "codeIso3": null }, "city": null, "postalCode": null, "phone": null, "company": null, "references": null, "defaultBilling": null, "defaultShipping": null } ], "dates": { "createdAt": "2021-07-13 22:17:24 +0000", "updatedAt": "2021-07-13 22:17:24 +0000" } } }



Curl
curl -X GET 'https://api.ecartapi.com/api/v2/customers/id' -H 'Authorization: access_token'

ENDPOINTS