Retrieve all customers from United States
GET {{baseUrl}}/customers?country=United States
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
Key | Datatype | Required | Description |
---|---|---|---|
country | string | This 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 country. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |