example-data.com

orders / #391

userId
Cassidy Boehm @cassidy_boehm22
status
shipped
currency
USD
subtotal
2078.8
tax
181.9
shipping
0
total
2260.7
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/391"
)
order = res.json()
{
  "id": 391,
  "userId": 204,
  "status": "shipped",
  "currency": "USD",
  "subtotal": 2078.8,
  "tax": 181.9,
  "shipping": 0,
  "total": 2260.7,
  "placedAt": "2026-02-02T15:05:14.840Z",
  "shippedAt": "2026-02-04T07:36:56.086Z",
  "deliveredAt": null,
  "createdAt": "2026-02-02T15:05:14.840Z",
  "updatedAt": "2026-02-04T07:36:56.086Z"
}
Draftbit