Get all customers

GET https://api.ecartapi.com/api/v2/customers

Request Params

KeyDatatypeRequiredDescription
limitstringlimit results per page Max 50
pagestringPagination position number
createdAt[from]stringgets data updated from a date
createdAt[to]stringgets data created to a date
updatedAt[from]stringgets data updated from a date
updatedAt[to]stringgets data updated toa date

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"success":true,"customers":[{"id":"1","email":"roni_cost@example.com","firstName":"Veronica","lastName":"Costello","status":{"id":null,"status":null},"note":"Default Store View","phone":null,"currency":null,"addresses":[{"id":"1","firstName":"Veronica","lastName":"Costello","address1":"6146 Honey Bluff Parkway","address2":null,"country":{"code":"US","name":"United States of America","codeIso2":"US","codeIso3":"USA"},"state":{"code":null,"name":null,"codeIso2":null,"codeIso3":null},"city":"Calder","postalCode":"49628-7978","phone":"(555) 229-3326","company":null,"references":null,"defaultBilling":"true","defaultShipping":"true"}],"dates":{"createdAt":"2019-01-14 09:40:25","updatedAt":"2022-03-16 21:18:43"}}]}