example-data.com

orders / #179

userId
Jamil Mayer @jamil.mayer
status
cancelled
currency
USD
subtotal
1356.41
tax
118.69
shipping
0
total
1475.1
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/179"
)
order = res.json()
{
  "id": 179,
  "userId": 233,
  "status": "cancelled",
  "currency": "USD",
  "subtotal": 1356.41,
  "tax": 118.69,
  "shipping": 0,
  "total": 1475.1,
  "placedAt": "2025-10-25T22:31:18.183Z",
  "shippedAt": null,
  "deliveredAt": null,
  "createdAt": "2025-10-25T22:31:18.183Z",
  "updatedAt": "2025-10-25T22:31:18.183Z"
}
Draftbit