order-items
order-items
Page 6 of 10.
- order-items/121
- order-items/122
- order-items/123
- order-items/124
- order-items/125
- order-items/126
- order-items/127
- order-items/128
- order-items/129
- order-items/130
- order-items/131
- order-items/132
- order-items/133
- order-items/134
- order-items/135
- order-items/136
- order-items/137
- order-items/138
- order-items/139
- order-items/140
- order-items/141
- order-items/142
- order-items/143
- order-items/144
- orderId
- orders/41
- productId
-
Licensed Bronze Shoes USD110.29
- quantity
- 1
- unitPrice
- 110.29
- lineTotal
- 110.29
- orderId
- orders/41
- productId
-
Fantastic Concrete Tuna USD452.00
- quantity
- 4
- unitPrice
- 452
- lineTotal
- 1808
- orderId
- orders/41
- productId
-
Small Plastic Bacon USD126.54
- quantity
- 4
- unitPrice
- 126.54
- lineTotal
- 506.16
- orderId
- orders/42
- productId
-
Luxurious Wooden Table USD195.98
- quantity
- 1
- unitPrice
- 195.98
- lineTotal
- 195.98
- orderId
- orders/43
- productId
-
Sleek Cotton Keyboard USD323.20
- quantity
- 2
- unitPrice
- 323.2
- lineTotal
- 646.4
- orderId
- orders/44
- productId
-
Sleek Rubber Mouse USD238.05
- quantity
- 4
- unitPrice
- 238.05
- lineTotal
- 952.2
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": 121,
"orderId": 41,
"productId": 158,
"quantity": 1,
"unitPrice": 110.29,
"lineTotal": 110.29
},
{
"id": 122,
"orderId": 41,
"productId": 11,
"quantity": 4,
"unitPrice": 452,
"lineTotal": 1808
},
{
"id": 123,
"orderId": 41,
"productId": 173,
"quantity": 4,
"unitPrice": 126.54,
"lineTotal": 506.16
}
],
"meta": {
"page": 6,
"limit": 24,
"total": 2964,
"totalPages": 124
},
"links": {
"self": "/api/v1/order-items?page=6",
"next": "/api/v1/order-items?page=7",
"prev": "/api/v1/order-items?page=5"
}
}