example-data.com

orders / #325

userId
Ike Breitenberg @ike.breitenberg
status
shipped
currency
USD
subtotal
2345.04
tax
205.19
shipping
0
total
2550.23
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/325"
)
order = res.json()
{
  "id": 325,
  "userId": 72,
  "status": "shipped",
  "currency": "USD",
  "subtotal": 2345.04,
  "tax": 205.19,
  "shipping": 0,
  "total": 2550.23,
  "placedAt": "2025-06-26T16:42:04.202Z",
  "shippedAt": "2025-06-29T04:37:13.335Z",
  "deliveredAt": null,
  "createdAt": "2025-06-26T16:42:04.202Z",
  "updatedAt": "2025-06-29T04:37:13.335Z"
}
Draftbit