example-data.com

orders / #150

userId
Jabari Farrell @jabari_farrell75
status
delivered
currency
USD
subtotal
2084.94
tax
182.43
shipping
0
total
2267.37
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/150"
)
order = res.json()
{
  "id": 150,
  "userId": 240,
  "status": "delivered",
  "currency": "USD",
  "subtotal": 2084.94,
  "tax": 182.43,
  "shipping": 0,
  "total": 2267.37,
  "placedAt": "2026-04-16T19:32:24.507Z",
  "shippedAt": "2026-04-18T13:20:34.164Z",
  "deliveredAt": "2026-04-21T19:01:04.565Z",
  "createdAt": "2026-04-16T19:32:24.507Z",
  "updatedAt": "2026-04-21T19:01:04.565Z"
}
Draftbit