Retrieve all customers

GET https://customer-education.postmanlabs.com/v0/customers?country=

Retrieves all customer records and all their details. It has an optional filter that allows the customer list to be filtered by country.

Request Params

KeyDatatypeRequiredDescription
countrynullThis is an optional parameter and it can contain a name of a country. If specified, then the result will only contain customers who reside in the specified countr.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

[{"firstName":"Peter","lastName":"Ostman","email":"peter.ostman@postman.com","mailingAddress":{"city":"San Diego","state":"California","country":"United States"}},{"firstName":"Poe","lastName":"Stman","email":"poe.stman@postman.com","mailingAddress":{"city":"San Diego","state":"California","country":"United States"}}]