ordercloud.products.setDefaultPrice
Sets a product's default price by creating or updating its price schedule, with optional currency and sale price support.
Instructions
Set the default price for a product by creating or updating a price schedule
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>",
"price": "<price>"
},
"name": "ordercloud.products.setDefaultPrice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | Default price to set | |
| currency | No | Currency code (default: USD) | |
| productId | Yes | The product ID | |
| salePrice | No | Optional sale price |