get-customer-orders
Retrieve a customer's profile and their most recent orders by providing a customer ID, with an option to limit the number of orders returned.
Instructions
Get a customer's profile along with their most recent orders.
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": {
"customerId": "<customerId>"
},
"name": "get-customer-orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of orders to return | |
| customerId | Yes | Customer ID (numeric ID or gid://shopify/Customer/... form) |