Get customer orders
get_customer_ordersRetrieve a customer's paginated order IDs by customer ID to review purchase history; use each ID with get_order for line items and report partial coverage when indicated.
Instructions
List order IDs of a customer by their customer ID (paginated) — the purchase history. Read each order with get_order for its line items (items[].name, quantity, price). The response carries a machine-readable coverage envelope (coverage, received, total_count, pages_read); coverage:"partial" MUST be reflected in the user-facing answer and forbids claiming the listing is complete.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "get_customer_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Customer ID (UUID). | |
| page | No | Page number, starting at 1 (default 1). | |
| per_page | No | Items per page, 1-100 (default 25). Values outside the range are clamped. |