example-data.com

orders / #365

userId
Telly Sanford @telly.sanford
status
shipped
currency
USD
subtotal
476.1
tax
41.66
shipping
0
total
517.76
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/365"
)
order = res.json()
{
  "id": 365,
  "userId": 123,
  "status": "shipped",
  "currency": "USD",
  "subtotal": 476.1,
  "tax": 41.66,
  "shipping": 0,
  "total": 517.76,
  "placedAt": "2026-02-07T22:45:41.662Z",
  "shippedAt": "2026-02-09T22:48:58.540Z",
  "deliveredAt": null,
  "createdAt": "2026-02-07T22:45:41.662Z",
  "updatedAt": "2026-02-09T22:48:58.540Z"
}
Draftbit