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>'
import requests

url = "https://staging-api.puppetvendors.com/orders/{orderId}/timeline"

headers = {"x-access-token": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'x-access-token': '<api-key>'}};

fetch('https://staging-api.puppetvendors.com/orders/{orderId}/timeline', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://staging-api.puppetvendors.com/orders/{orderId}/timeline",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-access-token: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://staging-api.puppetvendors.com/orders/{orderId}/timeline"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("x-access-token", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://staging-api.puppetvendors.com/orders/{orderId}/timeline")
.header("x-access-token", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://staging-api.puppetvendors.com/orders/{orderId}/timeline")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-access-token"] = '<api-key>'

response = http.request(request)
puts response.read_body
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"