example-data.com

orders / #102

userId
Audreanne Will @audreanne_will
status
cancelled
currency
USD
subtotal
1825.28
tax
159.71
shipping
0
total
1984.99
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/102"
)
order = res.json()
{
  "id": 102,
  "userId": 127,
  "status": "cancelled",
  "currency": "USD",
  "subtotal": 1825.28,
  "tax": 159.71,
  "shipping": 0,
  "total": 1984.99,
  "placedAt": "2025-07-19T22:50:52.883Z",
  "shippedAt": null,
  "deliveredAt": null,
  "createdAt": "2025-07-19T22:50:52.883Z",
  "updatedAt": "2025-07-19T22:50:52.883Z"
}
Draftbit