ordercloud.spendingAccounts.list
Retrieve OrderCloud spending accounts for a buyer using pagination, keyword search, field-level filters, and sorting to support admin reporting.
Instructions
List OrderCloud spending accounts with filtering, pagination, and sorting
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": {
"buyerId": "<buyerId>"
},
"name": "ordercloud.spendingAccounts.list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based) | |
| search | No | Keyword search across spending account fields | |
| sortBy | No | Sort field, prefix with ! for descending | |
| buyerId | Yes | The buyer ID | |
| filters | No | Field-level filters | |
| pageSize | No | Items per page (max 100) |