---
title: "Get ERP Customer"
method: GET
path: "/erp/customers/{customer_id}"
tags: ["erp", "Customers"]
---

# Get ERP Customer

`GET /erp/customers/{customer_id}`

## Request

- Base URL: `https://production.trackstarhq.com`
- URL: `https://production.trackstarhq.com/erp/customers/{customer_id}`
- Auth: none required

Returns a single Customer for the ERP connection with the associated customer id.

## Path parameters

- `customer_id` string, required

## Headers

- `x-trackstar-api-key` string, required
- `x-trackstar-access-token` string, required

## Response `200`

Successful response

- ErpCustomersSingleItemEndpoint
  - `data` ErpCustomerApiItemSchema
    - `id` string, required: The unique ID of the customer in the ERP.
    - `created_date` string, date-time, required: The date the customer was created.
    - `updated_date` string, date-time, required: The date the customer was last updated.
    - `customer_number` string, nullable, required: The user-facing identifier of the customer as assigned by the ERP.
    - `name` string, required: Display name of the customer (company name for businesses, full name for individuals).
    - `email` string, nullable, required: Primary email address recorded on the customer.
    - `phone` string, nullable, required: Primary phone number recorded on the customer.
    - `is_individual` boolean, nullable, required: Whether the customer is a person (B2C) rather than a company (B2B).
    - `active` boolean, nullable, required: Whether the customer is active in the ERP.
    - `billing_address` BillToAddress, required
      - `full_name` string, nullable, required
      - `address1` string, nullable, required
      - `address2` string, nullable, required
      - `address3` string, nullable, required
      - `city` string, nullable, required
      - `state` string, nullable, required
      - `postal_code` string, nullable, required
      - `country` string, nullable, required
    - `shipping_address` ShipToAddress, required
      - `full_name` string, nullable, required
      - `company` string, nullable, required
      - `address1` string, nullable, required
      - `address2` string, nullable, required
      - `address3` string, nullable, required
      - `city` string, nullable, required
      - `state` string, nullable, required
      - `postal_code` string, nullable, required
      - `country` string, nullable, required
      - `phone_number` string, nullable, required
      - `email_address` string, nullable, required
    - `custom_fields` object, required: Per-account custom fields defined on the customer. Keys are the field names as defined in the ERP; each value carries the raw value, its declared type, and a human-readable label.
    - `external_system_url` string, nullable, required: URL link to the customer in the external system (WMS/Freight etc).
    - `trackstar_tags` unknown[], nullable, required: A list of custom tags associated with the resource. A tag can be either a string or a dictionary with one key-value pair.
      - unknown
    - `additional_fields` object, required: Integration-specific fields
    - `trackstar_created_date` string, date-time, required
    - `trackstar_updated_date` string, date-time, required

## Other responses

- `404`: Not found
- `422`: Validation error

## Changes

- **2026-11-03** `f9f948f2a7b3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/trackstarhq/apis/trackstar-api/changes/erp/customers/:customer_id/get.md)

---

[API](https://skmtc.dev/trackstarhq/apis/trackstar-api.md) - [All operations](https://skmtc.dev/trackstarhq/apis/trackstar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trackstarhq/apis/trackstar-api/revisions/08647f790594?raw)
