---
title: "List customers"
method: GET
path: "/customers"
tags: ["customers"]
---

# List customers

`GET /customers`

Obtains a list of customers that match the specified criteria

## Query parameters

- `stateCode` string
- `countryCode` string
- `marketplaceId` integer
- `tagId` integer
- `sortBy` 'Name' | 'ModifyDate' | 'CreateDate'
- `sortDir` 'ASC' | 'DESC'
- `page` integer
- `pageSize` integer

## Response `200`

List of customers retrieved successfully

- object
  - `customers` object[]
    - `customerId` integer
    - `name` string
    - `company` string
    - `email` string
    - `phone` string
    - `city` string
    - `state` string
    - `countryCode` string
  - `total` integer
  - `page` integer
  - `pages` integer

## Other responses

- `400` — Bad Request - The request could not be understood or was missing required parameters
- `401` — Unauthorized - Authentication credentials are missing or invalid
- `500` — Internal Server Error - An error occurred on the server

---

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