GET /v1/orders/{id}/items
Scope
read_orders
Request parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | integer | optional |
Response example
{
"data": [
{
"id": "5001",
"item_id": "1",
"name": "string",
"sku": "string",
"quantity": 2,
"unit_price": {
"amount": 3200,
"currency": "JPY"
},
"total_price": {
"amount": 3200,
"currency": "JPY"
}
}
]
}
Description
List line items of an order
Error response example
{
"error": {
"code": "insufficient_scope",
"message": "requires scope 'read_orders'",
"request_id": "req_01H..."
}
}
Possible errors: 401 / 403 / 404