## Updates a product attribute value across all products matching the old value.

`products.update_product_attributes(ProductUpdateProductAttributesParams**kwargs)`

**put** `/api/v2/public/products/attributes`

Updates a product attribute value across all products matching the old value.

### Parameters

- `attribute: str`

  The attribute name to update.

- `new_value: str`

  The new value to set.

- `old_value: str`

  The current value to match.

### Example

```python
import os
from colleqtive_sdk import Colleqtive

client = Colleqtive(
    bearer_token=os.environ.get("COLLEQTIVE_BEARER_TOKEN"),  # This is the default and can be omitted
)
client.products.update_product_attributes(
    attribute="x",
    new_value="x",
    old_value="x",
)
```
