example-data.com

orders / #82

userId
Joseph Steuber @joseph_steuber
status
shipped
currency
USD
subtotal
2230.02
tax
195.13
shipping
0
total
2425.15
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/82"
)
order = res.json()
{
  "id": 82,
  "userId": 221,
  "status": "shipped",
  "currency": "USD",
  "subtotal": 2230.02,
  "tax": 195.13,
  "shipping": 0,
  "total": 2425.15,
  "placedAt": "2025-12-16T11:38:21.548Z",
  "shippedAt": "2025-12-18T14:23:46.898Z",
  "deliveredAt": null,
  "createdAt": "2025-12-16T11:38:21.548Z",
  "updatedAt": "2025-12-18T14:23:46.898Z"
}
Draftbit