example-data.com

orders / #320

userId
Berniece Medhurst @berniece_medhurst
status
shipped
currency
USD
subtotal
3026.55
tax
264.82
shipping
0
total
3291.37
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/320"
)
order = res.json()
{
  "id": 320,
  "userId": 77,
  "status": "shipped",
  "currency": "USD",
  "subtotal": 3026.55,
  "tax": 264.82,
  "shipping": 0,
  "total": 3291.37,
  "placedAt": "2026-04-24T18:25:31.158Z",
  "shippedAt": "2026-04-26T09:12:29.517Z",
  "deliveredAt": null,
  "createdAt": "2026-04-24T18:25:31.158Z",
  "updatedAt": "2026-04-26T09:12:29.517Z"
}
Draftbit