ordercloud.products.patch
Partially update an OrderCloud product using JSON Merge Patch, with an optional dry-run to validate changes before persisting.
Instructions
Partially update an OrderCloud product (JSON Merge Patch semantics). Use dryRun: true to validate without persisting.
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": {
"productId": "<productId>",
"patch": "<patch>"
},
"name": "ordercloud.products.patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | Fields to update, e.g. {"Name": "New Name", "xp": {"color": "red"}} | |
| dryRun | No | If true, validate and return what would be updated without persisting | |
| productId | Yes | The product ID to update |