example-data.com

orders / #323

userId
Myrl Pollich @myrl.pollich
status
shipped
currency
USD
subtotal
3043.5
tax
266.31
shipping
0
total
3309.81
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/323"
)
order = res.json()
{
  "id": 323,
  "userId": 90,
  "status": "shipped",
  "currency": "USD",
  "subtotal": 3043.5,
  "tax": 266.31,
  "shipping": 0,
  "total": 3309.81,
  "placedAt": "2025-12-03T19:00:44.118Z",
  "shippedAt": "2025-12-06T01:53:20.553Z",
  "deliveredAt": null,
  "createdAt": "2025-12-03T19:00:44.118Z",
  "updatedAt": "2025-12-06T01:53:20.553Z"
}
Draftbit