example-data.com

orders / #142

userId
D'angelo Kling @dangelo_kling6
status
shipped
currency
USD
subtotal
1583.8
tax
138.58
shipping
0
total
1722.38
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/orders/142" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/orders/142"
);
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/142"
);
const order = (await res.json()) as Order;
import requests

res = requests.get(
    "https://example-data.com/api/v1/orders/142"
)
order = res.json()
{
  "id": 142,
  "userId": 188,
  "status": "shipped",
  "currency": "USD",
  "subtotal": 1583.8,
  "tax": 138.58,
  "shipping": 0,
  "total": 1722.38,
  "placedAt": "2026-04-06T12:36:01.637Z",
  "shippedAt": "2026-04-07T13:00:24.448Z",
  "deliveredAt": null,
  "createdAt": "2026-04-06T12:36:01.637Z",
  "updatedAt": "2026-04-07T13:00:24.448Z"
}
Draftbit