example-data.com

orders / #183

userId
Dovie Gorczany @dovie.gorczany
status
delivered
currency
USD
subtotal
3507.49
tax
306.91
shipping
0
total
3814.4
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/183"
)
order = res.json()
{
  "id": 183,
  "userId": 111,
  "status": "delivered",
  "currency": "USD",
  "subtotal": 3507.49,
  "tax": 306.91,
  "shipping": 0,
  "total": 3814.4,
  "placedAt": "2026-05-07T14:28:55.413Z",
  "shippedAt": "2026-05-09T08:56:42.835Z",
  "deliveredAt": "2026-05-13T15:28:59.046Z",
  "createdAt": "2026-05-07T14:28:55.413Z",
  "updatedAt": "2026-05-13T15:28:59.046Z"
}
Draftbit