wafeq_purchase_orders_list
List and filter purchase orders by branch, status, contact, project, date, or reference. Returns paginated results for reviewing procurement records.
Instructions
๐ข READ-ONLY ยท Purchase Orders ยท GET /purchase-orders/
List purchase orders
Endpoint for retrieving a list of purchase orders.
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": "wafeq_purchase_orders_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | A page number within the paginated result set. | |
| branch | No | The unique identifier of the branch. | |
| status | No | The status of the purchase order. | |
| contact | No | The unique identifier of the contact. | |
| project | No | The unique identifier of the project. | |
| page_size | No | Number of results to return per page. | |
| reference | No | Reference. | |
| external_id | No | External identifier. | |
| created_ts_after | No | The timestamp in UTC when the purchase order was created. | |
| created_ts_before | No | The timestamp in UTC when the purchase order was created. | |
| modified_ts_after | No | The timestamp in UTC when the purchase order was last modified. | |
| modified_ts_before | No | The timestamp in UTC when the purchase order was last modified. | |
| purchase_order_date | No | The date of the purchase order. |