example-data.com

orders / #72

userId
Carley Gleichner @carley.gleichner
status
refunded
currency
USD
subtotal
2354.21
tax
205.99
shipping
0
total
2560.2
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/72"
)
order = res.json()
{
  "id": 72,
  "userId": 142,
  "status": "refunded",
  "currency": "USD",
  "subtotal": 2354.21,
  "tax": 205.99,
  "shipping": 0,
  "total": 2560.2,
  "placedAt": "2025-06-20T18:36:41.488Z",
  "shippedAt": null,
  "deliveredAt": null,
  "createdAt": "2025-06-20T18:36:41.488Z",
  "updatedAt": "2025-06-20T18:36:41.488Z"
}
Draftbit