Skip to main content
GET
/
orders
/
{orderId}
/
timeline
Get Order Timeline
curl --request GET \
  --url https://staging-api.puppetvendors.com/orders/{orderId}/timeline \
  --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

Return the timeline of events and notes for a specific order. Timeline entries include system events (status changes, fulfillments) and user-added notes.

Use Cases

  • Order detail page — Show a chronological activity feed for the order
  • Dispute resolution — Review the history of communications on an order
  • Audit trail — Track who did what and when on an order

Headers

x-access-token
string
required
A valid vendor JWT. Requires orders:read scope.

Path Parameters

orderId
string
required
The _id of the order.

Response

200
{
  "success": true,
  "data": [
    {
      "_id": "664a1b2c3d4e5f6a7b8c9d0e",
      "message": "Order received from Shopify",
      "type": "system",
      "createdBy": "system",
      "createdAt": "2026-05-15T10:30:00Z"
    },
    {
      "_id": "664a1b2c3d4e5f6a7b8c9d0f",
      "message": "Shipped via UPS, tracking #1Z999AA10123456784",
      "type": "note",
      "createdBy": "vendor@example.com",
      "createdAt": "2026-05-16T14:00:00Z",
      "files": [
        {
          "url": "https://cdn.puppetvendors.com/files/shipping-label.pdf",
          "name": "shipping-label.pdf"
        }
      ]
    }
  ]
}

Error Responses

401
{ "success": false, "error": { "message": "Invalid or expired token" } }
404
{ "success": false, "error": { "message": "Order not found", "code": "NOT_FOUND" } }

Example

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