update_product_rates
| Parameter | Type | Required | Description |
|---|---|---|---|
rates |
UpdateProductRateInput[] |
Yes | Array of product rate entries to update - UpdateProductRateInput |
UpdateProductRateInput
Section titled “UpdateProductRateInput”| Field | Type | Required | Description |
|---|---|---|---|
rateId |
string |
Yes | The ID of the product rate to update (Product.rate.id, not Product.id) |
amountCents |
number |
No | The amount in cents for the rate |
currency |
string |
No | The currency code (e.g., GBP, USD) |
interval |
Interval |
No | The interval of the rate - Interval |
Interval
Section titled “Interval”| Value | Description |
|---|---|
MONTHLY |
Billed on a monthly basis |
WEEKLY |
Billed on a weekly basis |
NIGHTLY |
Billed on a nightly basis |
Output
Section titled “Output”| Field | Type | Description |
|---|---|---|
content |
ContentItem[] |
Array of content items returned by the tool - ContentItem |
isError |
boolean |
Whether the tool execution resulted in an error |
ContentItem
Section titled “ContentItem”| Field | Type | Description |
|---|---|---|
type |
'text' |
Content type (currently only ‘text’ is supported) |
text |
string |
The text content to display |