example-data.com

orders / #311

userId
Glenna Keebler @glenna_keebler
status
shipped
currency
USD
subtotal
1647.8
tax
144.18
shipping
0
total
1791.98
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/311"
)
order = res.json()
{
  "id": 311,
  "userId": 134,
  "status": "shipped",
  "currency": "USD",
  "subtotal": 1647.8,
  "tax": 144.18,
  "shipping": 0,
  "total": 1791.98,
  "placedAt": "2025-09-11T02:39:55.987Z",
  "shippedAt": "2025-09-13T11:25:32.972Z",
  "deliveredAt": null,
  "createdAt": "2025-09-11T02:39:55.987Z",
  "updatedAt": "2025-09-13T11:25:32.972Z"
}
Draftbit