curl --request GET \
--url 'https://prod-api.stateset.cloud.stateset.app/api/v1/orders/{id}/items' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"data": [
{
"discount": "5.00",
"id": "item-550e8400-e29b-41d4",
"product_id": "prod-abc123",
"product_name": "Wireless Bluetooth Headphones",
"quantity": 2,
"sku": "WBH-BLK-001",
"tax_amount": "7.60",
"tax_rate": "0.08",
"total_price": "99.98",
"unit_price": "49.99"
}
],
"errors": [
"string"
],
"message": "Two-person tent, green — replacement for damaged pole set.",
"meta": {
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"timestamp": "2026-08-31T14:22:05Z"
},
"success": true
}
Get order items
Get all items for a specific order
GET
/
api
/
v1
/
orders
/
{id}
/
items
curl --request GET \
--url 'https://prod-api.stateset.cloud.stateset.app/api/v1/orders/{id}/items' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"data": [
{
"discount": "5.00",
"id": "item-550e8400-e29b-41d4",
"product_id": "prod-abc123",
"product_name": "Wireless Bluetooth Headphones",
"quantity": 2,
"sku": "WBH-BLK-001",
"tax_amount": "7.60",
"tax_rate": "0.08",
"total_price": "99.98",
"unit_price": "49.99"
}
],
"errors": [
"string"
],
"message": "Two-person tent, green — replacement for damaged pole set.",
"meta": {
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"timestamp": "2026-08-31T14:22:05Z"
},
"success": true
}
Get all items for a specific order
Path parameters
string
required
Order ID
Response
ApiResponse_Vec_OrderItem
object[]
Show data
Show data
string,null
Discount amount applied
string
required
Line item ID
string
required
Product variant ID
string
required
Product display name
integer (int32)
required
Quantity ordered
string,null
Product SKU
string,null
Calculated tax amount
string,null
Tax rate as decimal
string
required
Total price (unit_price × quantity)
string
required
Price per unit
array,null
string,null
boolean
required
Status codes
| Code | Meaning |
|---|---|
200 | Order items retrieved successfully |
401 | Unauthorized |
404 | Order not found |
500 | Internal server error |
curl --request GET \
--url 'https://prod-api.stateset.cloud.stateset.app/api/v1/orders/{id}/items' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"data": [
{
"discount": "5.00",
"id": "item-550e8400-e29b-41d4",
"product_id": "prod-abc123",
"product_name": "Wireless Bluetooth Headphones",
"quantity": 2,
"sku": "WBH-BLK-001",
"tax_amount": "7.60",
"tax_rate": "0.08",
"total_price": "99.98",
"unit_price": "49.99"
}
],
"errors": [
"string"
],
"message": "Two-person tent, green — replacement for damaged pole set.",
"meta": {
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"timestamp": "2026-08-31T14:22:05Z"
},
"success": true
}
Last modified on August 31, 2026