---
title: "GET /search/{user_id}/customers"
method: GET
path: "/search/{user_id}/customers"
tags: ["search"]
---

# GET /search/{user_id}/customers

`GET /search/{user_id}/customers`

Search Customers for a dealer

## Path parameters

- `user_id` integer, required

## Query parameters

- `offset` integer
- `limit` integer
- `search` string
- `from_gt` string
- `from_lt` string
- `location_ids` string
- `repeat_guest` boolean
- `active_guest` boolean

## Response `200`

- Customer[]
  - `archived` boolean
  - `avatar_url` string
  - `city` string
  - `email` string
  - `employee` boolean
  - `first_name` string
  - `id` integer
  - `last_departure` string
  - `last_name` string
  - `lifetime_value` number, double
  - `num_reservations` integer
  - `owned_by_user_id` integer
  - `phone` string
  - `state` string
  - `street` string
  - `total_reservations` integer
  - `zip` string

## Other responses

- `400` — Invalid input or state means you're bad
- `401` — Unauthorized error

---

[API](https://skmtc.net/outdoorsy/apis/outdoorsy-api-documentation.md) · [All operations](https://skmtc.net/outdoorsy/apis/outdoorsy-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/outdoorsy/outdoorsy-api-documentation/revisions/f0cf8f605ea0/schema)
