> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get order items

> Get all items for a specific order

Get all items for a specific order

### Path parameters

<ParamField path="id" type="string" required>
  Order ID
</ParamField>

### Responses

<ResponseField name="200" type="ApiResponse_Vec_OrderItem">
  Order items retrieved successfully
</ResponseField>

<ResponseField name="401" type="object">
  Unauthorized
</ResponseField>

<ResponseField name="404" type="object">
  Order not found
</ResponseField>

<ResponseField name="500" type="object">
  Internal server error
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.stateset.com/api/v1/orders/{id}/items' \
    --header 'Authorization: Bearer YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "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": null,
    "message": null,
    "meta": null,
    "success": true
  }
  ```
</ResponseExample>
