ordercloud.addresses.patch
Partially updates a buyer or supplier address by applying only the supplied field changes, so you can correct address details without replacing the full record.
Instructions
Partially update an address on a Buyer or Supplier
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": {
"entityType": "<entityType>",
"entityId": "<entityId>",
"addressId": "<addressId>",
"patch": "<patch>"
},
"name": "ordercloud.addresses.patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | Fields to update, e.g. {"Street1": "New Street", "City": "New City"} | |
| userId | No | For buyer addresses, optionally specify user ID | |
| entityId | Yes | The buyer or supplier ID | |
| addressId | Yes | The address ID to update | |
| entityType | Yes | Type of entity the address belongs to |