example-data.com

orders / #70

userId
Jaycee Erdman @jaycee_erdman96
status
refunded
currency
USD
subtotal
884.47
tax
77.39
shipping
0
total
961.86
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/70"
)
order = res.json()
{
  "id": 70,
  "userId": 10,
  "status": "refunded",
  "currency": "USD",
  "subtotal": 884.47,
  "tax": 77.39,
  "shipping": 0,
  "total": 961.86,
  "placedAt": "2025-10-27T03:15:28.698Z",
  "shippedAt": null,
  "deliveredAt": null,
  "createdAt": "2025-10-27T03:15:28.698Z",
  "updatedAt": "2025-10-27T03:15:28.698Z"
}
Draftbit