## Creates or updates product prices.

`products.create_prices(ProductCreatePricesParams**kwargs)  -> ProductCreatePricesResponse`

**post** `/api/v2/public/products/prices`

Creates or updates product prices.

### Parameters

- `prices: Optional[Iterable[Price]]`

  The product prices to create or update.

  - `price: float`

    Price value.

  - `price_id: str`

    Unique price identifier.

  - `price_type: int`

    Numeric price type.

  - `product_number: str`

    The product number this price applies to.

  - `valid_from: Union[str, datetime]`

    Start of the price's validity period.

  - `valid_to: Union[str, datetime]`

    End of the price's validity period.

  - `country_code: Optional[str]`

    Optional ISO country code restricting the price.

  - `price_group: Optional[str]`

    Optional price group identifier.

  - `price_quantity: Optional[float]`

    Quantity for which the price applies.

  - `price_unit: Optional[str]`

    Unit of measure the price applies to.

  - `store_number: Optional[str]`

    Optional store number restricting the price.

### Returns

- `class ProductCreatePricesResponse: …`

  Standard success response returned by mutation endpoints.

  - `success: bool`

    Indicates whether the operation completed successfully.

  - `data: Optional[str]`

    Optional data payload returned by the operation.

  - `message: Optional[str]`

    Human-readable message describing the result.

### 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
)
response = client.products.create_prices()
print(response.success)
```

#### Response

```json
{
  "success": true,
  "data": "data",
  "message": "message"
}
```
