---
title: "Get a vendor"
method: GET
path: "/v1/vendors/{vendorId}"
tags: ["Vendors"]
---

# Get a vendor

`GET /v1/vendors/{vendorId}`

## Request

- Base URL: `https://api.frihet.io`
- URL: `https://api.frihet.io/v1/vendors/{vendorId}`
- Auth: API key in header `X-API-Key`

Retrieve a single vendor by ID.

## Path parameters

- `vendorId` string, required

## Query parameters

- `fields` string

## Response `200`

Vendor details

- Vendor
  - `id` string: Unique identifier
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `name` string, required: Vendor name (person or company)
  - `email` string, email: Contact email
  - `phone` string: Phone number
  - `taxId` string: Tax identification number (NIF/CIF/VAT)
  - `address` Address: Structured address. Canonical fields are `province` and `zip`. The aliases `state` and `postalCode` are also accepted for backward compatibility.
    - `street` string
    - `city` string
    - `province` string: Province or state (canonical field)
    - `zip` string: Postal/ZIP code (canonical field)
    - `country` string
    - `state` string: Alias for `province` (backward compatibility)
    - `postalCode` string: Alias for `zip` (backward compatibility)

## Other responses

- `401`: Authentication required or invalid API key
- `404`: Resource not found
- `429`: Rate limit exceeded (100 requests per minute)
- `500`: Internal server error

---

[API](https://skmtc.dev/frihet/apis/frihet-api.md) · [All operations](https://skmtc.dev/frihet/apis/frihet-api/llms.txt) · [OpenAPI document](https://skmtc.dev/frihet/apis/frihet-api/revisions/3dd37f6a72d1?raw)
