example-data.com

orders / #195

userId
Cyril Frami @cyril_frami88
status
delivered
currency
USD
subtotal
905.08
tax
79.19
shipping
0
total
984.27
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/195"
)
order = res.json()
{
  "id": 195,
  "userId": 182,
  "status": "delivered",
  "currency": "USD",
  "subtotal": 905.08,
  "tax": 79.19,
  "shipping": 0,
  "total": 984.27,
  "placedAt": "2025-11-14T01:26:59.610Z",
  "shippedAt": "2025-11-15T16:38:17.894Z",
  "deliveredAt": "2025-11-19T05:14:58.073Z",
  "createdAt": "2025-11-14T01:26:59.610Z",
  "updatedAt": "2025-11-19T05:14:58.073Z"
}
Draftbit