example-data.com

orders / #109

userId
Monte Botsford @monte_botsford
status
shipped
currency
USD
subtotal
1332.84
tax
116.62
shipping
0
total
1449.46
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/109"
)
order = res.json()
{
  "id": 109,
  "userId": 220,
  "status": "shipped",
  "currency": "USD",
  "subtotal": 1332.84,
  "tax": 116.62,
  "shipping": 0,
  "total": 1449.46,
  "placedAt": "2025-07-14T07:01:54.510Z",
  "shippedAt": "2025-07-15T23:48:19.694Z",
  "deliveredAt": null,
  "createdAt": "2025-07-14T07:01:54.510Z",
  "updatedAt": "2025-07-15T23:48:19.694Z"
}
Draftbit