order-items
order-items
Page 2 of 10.
- order-items/25
- order-items/26
- order-items/27
- order-items/28
- order-items/29
- order-items/30
- order-items/31
- order-items/32
- order-items/33
- order-items/34
- order-items/35
- order-items/36
- order-items/37
- order-items/38
- order-items/39
- order-items/40
- order-items/41
- order-items/42
- order-items/43
- order-items/44
- order-items/45
- order-items/46
- order-items/47
- order-items/48
- orderId
- orders/10
- productId
-
Modern Marble Sausages USD264.75
- quantity
- 4
- unitPrice
- 264.75
- lineTotal
- 1059
- orderId
- orders/10
- productId
-
Electronic Concrete Bacon USD345.69
- quantity
- 4
- unitPrice
- 345.69
- lineTotal
- 1382.76
- orderId
- orders/10
- productId
-
Licensed Silk Car USD418.99
- quantity
- 2
- unitPrice
- 418.99
- lineTotal
- 837.98
- orderId
- orders/11
- productId
-
Rustic Ceramic Bacon USD224.39
- quantity
- 3
- unitPrice
- 224.39
- lineTotal
- 673.17
- orderId
- orders/11
- productId
-
Licensed Bronze Shoes USD110.29
- quantity
- 2
- unitPrice
- 110.29
- lineTotal
- 220.58
- orderId
- orders/12
- productId
-
Tasty Marble Table USD312.89
- quantity
- 2
- unitPrice
- 312.89
- lineTotal
- 625.78
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": 25,
"orderId": 10,
"productId": 101,
"quantity": 4,
"unitPrice": 264.75,
"lineTotal": 1059
},
{
"id": 26,
"orderId": 10,
"productId": 98,
"quantity": 4,
"unitPrice": 345.69,
"lineTotal": 1382.76
},
{
"id": 27,
"orderId": 10,
"productId": 129,
"quantity": 2,
"unitPrice": 418.99,
"lineTotal": 837.98
}
],
"meta": {
"page": 2,
"limit": 24,
"total": 2964,
"totalPages": 124
},
"links": {
"self": "/api/v1/order-items?page=2",
"next": "/api/v1/order-items?page=3",
"prev": "/api/v1/order-items?page=1"
}
}