example-data.com

orders / #137

userId
Selina Flatley @selina_flatley
status
delivered
currency
USD
subtotal
1007.55
tax
88.16
shipping
0
total
1095.71
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/orders/137" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/orders/137"
);
const order = await res.json();
import type { Order } from "https://example-data.com/types/orders.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/orders/137"
);
const order = (await res.json()) as Order;
import requests

res = requests.get(
    "https://example-data.com/api/v1/orders/137"
)
order = res.json()
{
  "id": 137,
  "userId": 193,
  "status": "delivered",
  "currency": "USD",
  "subtotal": 1007.55,
  "tax": 88.16,
  "shipping": 0,
  "total": 1095.71,
  "placedAt": "2025-12-13T18:20:02.484Z",
  "shippedAt": "2025-12-16T00:05:30.488Z",
  "deliveredAt": "2025-12-21T17:41:35.944Z",
  "createdAt": "2025-12-13T18:20:02.484Z",
  "updatedAt": "2025-12-21T17:41:35.944Z"
}
Draftbit