order-items
order-items
Page 4 of 10.
- order-items/73
- order-items/74
- order-items/75
- order-items/76
- order-items/77
- order-items/78
- order-items/79
- order-items/80
- order-items/81
- order-items/82
- order-items/83
- order-items/84
- order-items/85
- order-items/86
- order-items/87
- order-items/88
- order-items/89
- order-items/90
- order-items/91
- order-items/92
- order-items/93
- order-items/94
- order-items/95
- order-items/96
- orderId
- orders/26
- productId
-
Oriental Rubber Shirt USD24.35
- quantity
- 2
- unitPrice
- 24.35
- lineTotal
- 48.7
- orderId
- orders/26
- productId
-
Electronic Rubber Hat USD89.79
- quantity
- 2
- unitPrice
- 89.79
- lineTotal
- 179.58
- orderId
- orders/26
- productId
-
Fresh Plastic Computer USD460.89
- quantity
- 2
- unitPrice
- 460.89
- lineTotal
- 921.78
- orderId
- orders/27
- productId
-
Modern Bamboo Sausages USD166.89
- quantity
- 2
- unitPrice
- 166.89
- lineTotal
- 333.78
- orderId
- orders/27
- productId
-
Tasty Steel Chair USD486.65
- quantity
- 3
- unitPrice
- 486.65
- lineTotal
- 1459.95
- orderId
- orders/27
- productId
-
Bespoke Wooden Keyboard USD226.39
- quantity
- 1
- unitPrice
- 226.39
- lineTotal
- 226.39
Showing first 6 of 24 on this page.
curl -sS \
"https://example-data.com/api/v1/order-items?limit=25"const res = await fetch(
"https://example-data.com/api/v1/order-items?limit=25"
);
const { data, meta } = await res.json();import type { OrderItem, ListEnvelope } from "https://example-data.com/types/order-items.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/order-items?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<OrderItem>;import requests
res = requests.get(
"https://example-data.com/api/v1/order-items",
params={"limit": 25},
)
data = res.json() {
"data": [
{
"id": 73,
"orderId": 26,
"productId": 42,
"quantity": 2,
"unitPrice": 24.35,
"lineTotal": 48.7
},
{
"id": 74,
"orderId": 26,
"productId": 165,
"quantity": 2,
"unitPrice": 89.79,
"lineTotal": 179.58
},
{
"id": 75,
"orderId": 26,
"productId": 119,
"quantity": 2,
"unitPrice": 460.89,
"lineTotal": 921.78
}
],
"meta": {
"page": 4,
"limit": 24,
"total": 2964,
"totalPages": 124
},
"links": {
"self": "/api/v1/order-items?page=4",
"next": "/api/v1/order-items?page=5",
"prev": "/api/v1/order-items?page=3"
}
}