example-data.com

orders / #175

userId
Kevon Dickinson @kevon.dickinson
status
shipped
currency
USD
subtotal
3115.13
tax
272.57
shipping
0
total
3387.7
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/175"
)
order = res.json()
{
  "id": 175,
  "userId": 218,
  "status": "shipped",
  "currency": "USD",
  "subtotal": 3115.13,
  "tax": 272.57,
  "shipping": 0,
  "total": 3387.7,
  "placedAt": "2025-12-11T20:30:39.697Z",
  "shippedAt": "2025-12-13T11:16:05.585Z",
  "deliveredAt": null,
  "createdAt": "2025-12-11T20:30:39.697Z",
  "updatedAt": "2025-12-13T11:16:05.585Z"
}
Draftbit