> ## Documentation Index
> Fetch the complete documentation index at: https://dev.puppetvendors.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Vendors for User

> Get all vendor accounts linked to the authenticated user

<Note>
  **V2 Preview** — This endpoint is part of the V2 API preview. Breaking changes may occur.
</Note>

## Overview

Return all vendor accounts associated with the currently authenticated user. This is useful when a single email address has been registered as a vendor on multiple shops.

### Use Cases

* **Vendor switcher UI** — Show a dropdown of available vendor accounts after login
* **Multi-shop vendors** — Let a vendor see which shops they belong to

## Headers

<ParamField header="x-access-token" type="string" required>
  A valid vendor JWT (vendor scope).
</ParamField>

## Response

```json 200 theme={null}
{
  "success": true,
  "data": [
    {
      "_id": "507f1f77bcf86cd799439012",
      "vendorName": "Acme Co",
      "vendorNameAlias": "acme"
    },
    {
      "_id": "507f1f77bcf86cd799439099",
      "vendorName": "Widget Works",
      "vendorNameAlias": "widget-works"
    }
  ]
}
```

### Error Responses

```json 401 theme={null}
{ "success": false, "error": { "message": "Invalid or expired token" } }
```

## Example

```bash theme={null}
curl -X GET "https://staging-api.puppetvendors.com/portal/auth/vendors" \
  -H "x-access-token: YOUR_VENDOR_JWT"
```
