example-data.com

orders / #252

userId
Bradford Doyle @bradford.doyle42
status
shipped
currency
USD
subtotal
352.1
tax
30.81
shipping
0
total
382.91
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/252"
)
order = res.json()
{
  "id": 252,
  "userId": 79,
  "status": "shipped",
  "currency": "USD",
  "subtotal": 352.1,
  "tax": 30.81,
  "shipping": 0,
  "total": 382.91,
  "placedAt": "2025-11-26T23:34:34.702Z",
  "shippedAt": "2025-11-28T08:53:41.972Z",
  "deliveredAt": null,
  "createdAt": "2025-11-26T23:34:34.702Z",
  "updatedAt": "2025-11-28T08:53:41.972Z"
}
Draftbit