example-data.com

orders / #9

userId
Mia Renner @mia.renner47
status
confirmed
currency
USD
subtotal
509.98
tax
44.62
shipping
0
total
554.6
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Medium

#9

#9

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/9"
)
order = res.json()
{
  "id": 9,
  "userId": 212,
  "status": "confirmed",
  "currency": "USD",
  "subtotal": 509.98,
  "tax": 44.62,
  "shipping": 0,
  "total": 554.6,
  "placedAt": "2025-09-29T02:35:18.358Z",
  "shippedAt": null,
  "deliveredAt": null,
  "createdAt": "2025-09-29T02:35:18.358Z",
  "updatedAt": "2025-09-29T02:35:18.358Z"
}
Draftbit