Customer order history
hub_get_customer_ordersONE customer's history as a single timeline, newest first: their orders AND the refunds taken against them, each row marked type "order" or "refund" — the same list the customer screen shows. Answers 'what has this person bought', 'did we refund them', 'when were they last in'. Takes the customer ID from get_customers, never a name. get_orders with customerIds returns the orders alone and a total count; use this tool when the refunds belong in the answer. No total count comes back here — keep paging until a page returns fewer rows than asked for.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, default 1 | |
| pageSize | No | Rows per page, default 20 | |
| customerId | Yes | Customer id from get_customers — not a name |