ordercloud.spendingAccounts.patch
Partially update a buyer's spending account by changing selected fields such as name, limit, status, balance, dates, or extended properties without replacing the full record.
Instructions
Update a spending account (partial update)
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>",
"spendingAccountId": "<spendingAccountId>",
"spendingAccount": "<spendingAccount>"
},
"name": "ordercloud.spendingAccounts.patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyerId | Yes | The buyer ID | |
| spendingAccount | Yes | Partial spending account object with fields to update | |
| spendingAccountId | Yes | The spending account ID to update |