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

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

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

### Body Parameters

- `attribute: string`

  The attribute name to update.

- `new_value: string`

  The new value to set.

- `old_value: string`

  The current value to match.

### Example

```http
curl https://api.colleqtive.net/api/v2/public/products/attributes \
    -X PUT \
    -H 'Content-Type: application/json' \
    -H "Authorization: $COLLEQTIVE_BEARER_TOKEN" \
    -d '{
          "attribute": "x",
          "new_value": "x",
          "old_value": "x"
        }'
```
