Search sales orders
dolibarr_order_searchFind customer orders by order reference or customer reference, ranked newest first. Filter by status or third-party ID and page through results to locate specific orders.
Instructions
Finds customer orders by ref or the customer's reference. Newest first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dolibarr_order_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 0. | |
| limit | No | Rows per page (max 50). | |
| query | No | Part of the order ref or customer reference. | |
| status | No | ||
| thirdparty_id | No | Only records of this third party (id from dolibarr_thirdparty_search). |