get_recent_sales_orders
Retrieve a customer's recent sales orders by CardCode to prepare for visits and follow-ups; use find_business_partner first when only a customer name is available.
Instructions
Get a customer's most recent sales orders by CardCode. Call find_business_partner first if you only have a name.
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": {
"cardCode": "<cardCode>"
},
"name": "get_recent_sales_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cardCode | Yes | The CardCode returned by find_business_partner, e.g. "C20001". | |
| sinceDays | No |