---
title: "Get All ERP Vendors"
method: GET
path: "/erp/vendors"
tags: ["erp", "Vendors"]
---

# Get All ERP Vendors

`GET /erp/vendors`

## Request

- Base URL: `https://production.trackstarhq.com`
- URL: `https://production.trackstarhq.com/erp/vendors`
- Auth: none required

Returns all Vendors for the ERP connection associated with the provided access token.

## Query parameters

- `page_token` string, nullable
- `limit` integer
- `ids` ErpVendorIdsQueryParam
  - `in` string[], required: A comma-separated list of resource IDs. If provided, all other query params are ignored.
- `created_date` ErpVendorCreatedDateQueryParam
  - `eq` string, date-time
  - `neq` string, date-time
  - `in` string[]: Comma-separated.
  - `nin` string[]: Comma-separated.
  - `gt` string, date-time
  - `gte` string, date-time
  - `lt` string, date-time
  - `lte` string, date-time
- `updated_date` ErpVendorUpdatedDateQueryParam
  - `eq` string, date-time
  - `neq` string, date-time
  - `in` string[]: Comma-separated.
  - `nin` string[]: Comma-separated.
  - `gt` string, date-time
  - `gte` string, date-time
  - `lt` string, date-time
  - `lte` string, date-time
- `trackstar_created_date` ErpVendorTrackstarCreatedDateQueryParam
  - `eq` string, date-time
  - `neq` string, date-time
  - `in` string[]: Comma-separated.
  - `nin` string[]: Comma-separated.
  - `gt` string, date-time
  - `gte` string, date-time
  - `lt` string, date-time
  - `lte` string, date-time
- `trackstar_updated_date` ErpVendorTrackstarUpdatedDateQueryParam
  - `eq` string, date-time
  - `neq` string, date-time
  - `in` string[]: Comma-separated.
  - `nin` string[]: Comma-separated.
  - `gt` string, date-time
  - `gte` string, date-time
  - `lt` string, date-time
  - `lte` string, date-time
- `trackstar_tags` ErpVendorTrackstarTagsFlatQueryParam
  - `contains` string[]: Comma-separated.
  - `not_contains` string[]: Comma-separated.
- `vendor_number` ErpVendorVendorNumberQueryParam
  - `eq` string
  - `neq` string
  - `in` string[]: Comma-separated.
  - `nin` string[]: Comma-separated.
  - `contains` string
  - `not_contains` string
- `name` ErpVendorNameQueryParam
  - `eq` string
  - `neq` string
  - `in` string[]: Comma-separated.
  - `nin` string[]: Comma-separated.
  - `contains` string
  - `not_contains` string
- `email` ErpVendorEmailQueryParam
  - `eq` string
  - `neq` string
  - `in` string[]: Comma-separated.
  - `nin` string[]: Comma-separated.
  - `contains` string
  - `not_contains` string

## Headers

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

## Response `200`

Successful response

- ErpVendorsListEndpoint
  - `data` ErpVendorApiItemSchema[], required
    - `id` string, required: The unique ID of the vendor in the ERP.
    - `created_date` string, date-time, required: The date the vendor was created.
    - `updated_date` string, date-time, required: The date the vendor was last updated.
    - `vendor_number` string, nullable, required: The user-facing identifier of the vendor as assigned by the ERP.
    - `name` string, required: Display name of the vendor (company name for businesses, full name for individuals).
    - `email` string, nullable, required: Primary email address recorded on the vendor.
    - `phone` string, nullable, required: Primary phone number recorded on the vendor.
    - `is_individual` boolean, nullable, required: Whether the vendor is a person rather than a company.
    - `active` boolean, nullable, required: Whether the vendor is active in the ERP.
    - `custom_fields` object, required: Per-account custom fields defined on the vendor. 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 vendor 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
  - `next_token` string, nullable, required: See [pagination](/how-to-guides/about-the-api#pagination) for more details.
  - `total_count` integer, required: The number of items returned.

## Other responses

- `422`: Validation error

## Changes

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

[Operation history](https://skmtc.dev/trackstarhq/apis/trackstar-api/changes/erp/vendors/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)
