order-items
order-items
Page 8 of 10.
- order-items/169
- order-items/170
- order-items/171
- order-items/172
- order-items/173
- order-items/174
- order-items/175
- order-items/176
- order-items/177
- order-items/178
- order-items/179
- order-items/180
- order-items/181
- order-items/182
- order-items/183
- order-items/184
- order-items/185
- order-items/186
- order-items/187
- order-items/188
- order-items/189
- order-items/190
- order-items/191
- order-items/192
- orderId
- orders/56
- productId
-
Intelligent Cotton Chair USD249.25
- quantity
- 1
- unitPrice
- 249.25
- lineTotal
- 249.25
- orderId
- orders/56
- productId
-
Oriental Wooden Pizza USD163.36
- quantity
- 2
- unitPrice
- 163.36
- lineTotal
- 326.72
- orderId
- orders/57
- productId
-
Oriental Aluminum Salad USD6.81
- quantity
- 1
- unitPrice
- 6.81
- lineTotal
- 6.81
- orderId
- orders/58
- productId
-
Awesome Rubber Chicken USD251.49
- quantity
- 3
- unitPrice
- 251.49
- lineTotal
- 754.47
- orderId
- orders/59
- productId
-
Sleek Rubber Mouse USD238.05
- quantity
- 4
- unitPrice
- 238.05
- lineTotal
- 952.2
- orderId
- orders/59
- productId
-
Practical Marble Towels USD102.15
- quantity
- 2
- unitPrice
- 102.15
- lineTotal
- 204.3
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": 169,
"orderId": 56,
"productId": 117,
"quantity": 1,
"unitPrice": 249.25,
"lineTotal": 249.25
},
{
"id": 170,
"orderId": 56,
"productId": 80,
"quantity": 2,
"unitPrice": 163.36,
"lineTotal": 326.72
},
{
"id": 171,
"orderId": 57,
"productId": 125,
"quantity": 1,
"unitPrice": 6.81,
"lineTotal": 6.81
}
],
"meta": {
"page": 8,
"limit": 24,
"total": 2964,
"totalPages": 124
},
"links": {
"self": "/api/v1/order-items?page=8",
"next": "/api/v1/order-items?page=9",
"prev": "/api/v1/order-items?page=7"
}
}