example-data.com

orders / #354

userId
Cruz Okuneva @cruz.okuneva
status
delivered
currency
USD
subtotal
2752.38
tax
240.83
shipping
0
total
2993.21
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/354"
)
order = res.json()
{
  "id": 354,
  "userId": 239,
  "status": "delivered",
  "currency": "USD",
  "subtotal": 2752.38,
  "tax": 240.83,
  "shipping": 0,
  "total": 2993.21,
  "placedAt": "2025-08-22T03:09:20.644Z",
  "shippedAt": "2025-08-24T19:20:21.194Z",
  "deliveredAt": "2025-08-31T01:58:06.720Z",
  "createdAt": "2025-08-22T03:09:20.644Z",
  "updatedAt": "2025-08-31T01:58:06.720Z"
}
Draftbit