Skip to main content
GET
/
users
/
{userId}
Get User
curl --request GET \
  --url https://staging-api.puppetvendors.com/users/{userId} \
  --header 'x-access-token: <api-key>'

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.

V2 Preview — This endpoint is part of the V2 API preview. Breaking changes may occur.

Overview

Retrieve a single vendor portal user. Vendor tokens are scoped to users belonging to the same vendor. Merchant tokens may read any user on the shop.

Path Parameters

userId
string
required
User ObjectId.

Response

200
{
  "success": true,
  "data": {
    "_id": "507f1f77bcf86cd799439030",
    "firstName": "Jane",
    "lastName": "Smith",
    "email": "jane@example.com",
    "vendorId": "507f1f77bcf86cd799439012",
    "approved": true,
    "lastLogin": "2026-04-14T10:05:00Z",
    "createdAt": "2025-09-01T12:00:00Z"
  }
}

Example

curl -X GET "https://staging-api.puppetvendors.com/users/507f1f77bcf86cd799439030" \
  -H "x-access-token: YOUR_VENDOR_JWT"