ordercloud.products.delete
Delete an OrderCloud product by ID, with an optional dryRun mode to validate what would be removed before persisting any change.
Instructions
Delete an OrderCloud product by ID. Use dryRun: true to validate without deleting.
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>"
},
"name": "ordercloud.products.delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, return what would be deleted without persisting | |
| productId | Yes | The product ID to delete |