example-data.com

orders / #140

userId
Tiara Wilderman @tiara_wilderman
status
shipped
currency
USD
subtotal
545.19
tax
47.7
shipping
0
total
592.89
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/140"
)
order = res.json()
{
  "id": 140,
  "userId": 66,
  "status": "shipped",
  "currency": "USD",
  "subtotal": 545.19,
  "tax": 47.7,
  "shipping": 0,
  "total": 592.89,
  "placedAt": "2026-05-06T07:01:55.396Z",
  "shippedAt": "2026-05-09T04:10:44.723Z",
  "deliveredAt": null,
  "createdAt": "2026-05-06T07:01:55.396Z",
  "updatedAt": "2026-05-09T04:10:44.723Z"
}
Draftbit