# update_product_rates

<!-- INPUT_BLOCK_START -->

## Input

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `rates` | `UpdateProductRateInput[]` | Yes | Array of product rate entries to update - [UpdateProductRateInput](#updateproductrateinput) |

### 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) |

### Interval

| Value | Description |
| --- | --- |
| `MONTHLY` | Billed on a monthly basis |
| `WEEKLY` | Billed on a weekly basis |
| `NIGHTLY` | Billed on a nightly basis |

<!-- INPUT_BLOCK_END -->

<!-- OUTPUT_BLOCK_START -->

## Output

| Field | Type | Description |
| --- | --- | --- |
| `content` | `ContentItem[]` | Array of content items returned by the tool - [ContentItem](#contentitem) |
| `isError` | `boolean` | Whether the tool execution resulted in an error |

### ContentItem

| Field | Type | Description |
| --- | --- | --- |
| `type` | `'text'` | Content type (currently only 'text' is supported) |
| `text` | `string` | The text content to display |

<!-- OUTPUT_BLOCK_END -->
