example-data.com

orders

orders

Page 4 of 10.

userId
Niko Wisozk @niko_wisozk
status
confirmed
currency
USD
subtotal
1615.81
tax
141.38
shipping
0
total
1757.19
placedAt
shippedAt
deliveredAt
createdAt
updatedAt
userId
Claudie Hagenes @claudie_hagenes
status
cancelled
currency
USD
subtotal
863.71
tax
75.57
shipping
0
total
939.28
placedAt
shippedAt
deliveredAt
createdAt
updatedAt
userId
Edward Jacobson @edward_jacobson38
status
cancelled
currency
USD
subtotal
512.63
tax
44.86
shipping
0
total
557.49
placedAt
shippedAt
deliveredAt
createdAt
updatedAt
userId
Mable West @mable_west
status
delivered
currency
USD
subtotal
2940.56
tax
257.3
shipping
0
total
3197.86
placedAt
shippedAt
deliveredAt
createdAt
updatedAt
userId
Izaiah Rempel @izaiah_rempel
status
pending
currency
USD
subtotal
2925.69
tax
256
shipping
0
total
3181.69
placedAt
shippedAt
deliveredAt
createdAt
updatedAt
userId
Kaleb Schmidt @kaleb.schmidt
status
delivered
currency
USD
subtotal
246.59
tax
21.58
shipping
0
total
268.17
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Showing first 6 of 24 on this page.

curl -sS \
  "https://example-data.com/api/v1/orders?limit=25"
const res = await fetch(
  "https://example-data.com/api/v1/orders?limit=25"
);
const { data, meta } = await res.json();
import type { Order, ListEnvelope } from "https://example-data.com/types/orders.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/orders?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Order>;
import requests

res = requests.get(
    "https://example-data.com/api/v1/orders",
    params={"limit": 25},
)
data = res.json()
{
  "data": [
    {
      "id": 73,
      "userId": 56,
      "status": "confirmed",
      "currency": "USD",
      "subtotal": 1615.81,
      "tax": 141.38,
      "shipping": 0,
      "total": 1757.19,
      "placedAt": "2024-11-23T01:46:10.678Z",
      "shippedAt": null,
      "deliveredAt": null,
      "createdAt": "2024-11-23T01:46:10.678Z",
      "updatedAt": "2024-11-23T01:46:10.678Z"
    },
    {
      "id": 74,
      "userId": 232,
      "status": "cancelled",
      "currency": "USD",
      "subtotal": 863.71,
      "tax": 75.57,
      "shipping": 0,
      "total": 939.28,
      "placedAt": "2024-07-17T22:55:28.520Z",
      "shippedAt": null,
      "deliveredAt": null,
      "createdAt": "2024-07-17T22:55:28.520Z",
      "updatedAt": "2024-07-17T22:55:28.520Z"
    },
    {
      "id": 75,
      "userId": 38,
      "status": "cancelled",
      "currency": "USD",
      "subtotal": 512.63,
      "tax": 44.86,
      "shipping": 0,
      "total": 557.49,
      "placedAt": "2024-10-11T22:39:37.655Z",
      "shippedAt": null,
      "deliveredAt": null,
      "createdAt": "2024-10-11T22:39:37.655Z",
      "updatedAt": "2024-10-11T22:39:37.655Z"
    }
  ],
  "meta": {
    "page": 4,
    "limit": 24,
    "total": 1000,
    "totalPages": 42
  },
  "links": {
    "self": "/api/v1/orders?page=4",
    "next": "/api/v1/orders?page=5",
    "prev": "/api/v1/orders?page=3"
  }
}
Draftbit