> ## Documentation Index
> Fetch the complete documentation index at: https://docs.r28.ai/charter/llms.txt
> Use this file to discover all available pages before exploring further.

# products_update

> Update a product. `default_price` names an existing price; a price cannot be created here.

<div className="tool-route"><span className="tool-row-method" data-method="POST">POST</span><code>{"https://api.stripe.com/v1/products/{id}"}</code></div>

```python stripe_products_update.py theme={null}
from charter.packs import stripe

result = await stripe.products_update.ainvoke({"id": ...})
```

## Path parameters

<div className="reference-table">
  | Field                                                      | Type     | Description                      |
  | ---------------------------------------------------------- | -------- | -------------------------------- |
  | `id` <span className="required" title="required">\*</span> | `string` | The ID of the product to update. |
</div>

## Body

<div className="reference-table">
  | Field          | Type            | Description                                                                    |
  | -------------- | --------------- | ------------------------------------------------------------------------------ |
  | `description`  | `string`        | Customer-facing description of the product.                                    |
  | `active`       | `boolean`       | Whether the product can be bought. Absent, it can.                             |
  | `images`       | `string`\[]     | Up to eight image URLs. <span className="field-constraints">max 8 items</span> |
  | `url`          | `string`        | A public webpage for the product.                                              |
  | `metadata`     | map of `string` | Set of key-value pairs attached to the product.                                |
  | `name`         | `string`        | The product's name.                                                            |
  | `defaultPrice` | `string`        | The ID of an existing price to make this product's default.                    |
</div>
