# First data request

Use this example to retrieve a page of customer summaries. Send API requests only from a trusted backend; do not copy production credentials into a browser.

## Prerequisites

- A dealership-authorized key issued to an approved vendor integration.
- A bearer token that has not exceeded its documented 30-minute lifetime.
- The `api_url` returned with that token and validated against your approved host policy.
- A trusted backend that will not log credentials, the returned route, request bodies containing personal filters, or response records.


## Construct the request

Send `POST /v1/Customer/Summary` with an `ApiCustomerSearchCriteria` JSON body.

```http
POST {api_url}/v1/Customer/Summary
Accept: application/json
Content-Type: application/json
Authorization: Bearer <BEARER_TOKEN>
```

Use a narrow updated-date window and an initial page:

```json
{
  "Take": 100,
  "Skip": 0,
  "FromUpdatedDate": "2025-01-15T00:00:00Z",
  "ToUpdatedDate": "2025-01-16T00:00:00Z"
}
```

The response is an `ApiCustomerListResult` object with `TotalCount` and `Items`. Each summary item can include `CustomerId`, `FirstName`, `LastName`, `CompanyName`, `Email`, `Phone`, and `Mobile`.

## Process the result

1. Process the response body only after receiving HTTP 200.
2. Verify that `Items` is an array.
3. Persist only the fields required by the approved integration.
4. Use `Items[].CustomerId` for selected `GET /v1/Customer/GetCustomer/{id}` detail requests.
5. Advance `Skip` by the number of items processed and use `TotalCount` to track progress across the available records.
6. Commit an updated-date checkpoint only after the page has been durably processed.


If the API returns an error, follow [Errors and routing](/docs/dx1-dealership-api/guides/errors-and-routing). Review [Pagination and synchronization](/docs/dx1-dealership-api/guides/pagination-and-sync) before implementing a complete retrieval loop.