## Create Discount Prices `products.create_discount_prices(ProductCreateDiscountPricesParams**kwargs) -> ProductCreateDiscountPricesResponse` **post** `/api/v2/public/products/discountprices` Creates or updates discount prices for products. ### Parameters - `discounts: Optional[Iterable[Discount]]` The list of discount price entries. - `discount_description: Optional[str]` - `discount_group: Optional[str]` - `discount_id: Optional[str]` - `discount_type: Optional[int]` - `is_delete: Optional[bool]` - `line_number: Optional[int]` - `price: Optional[float]` - `product_number: Optional[str]` The product number this discount applies to. - `valid_from: Optional[Union[str, datetime, null]]` - `valid_to: Optional[Union[str, datetime, null]]` - `is_flush: Optional[bool]` ### Returns - `class ProductCreateDiscountPricesResponse: …` Standard success response returned by mutation endpoints. - `data: Optional[str]` Optional data payload returned by the operation. - `message: Optional[str]` Human-readable message describing the result. - `success: Optional[bool]` Indicates whether the operation completed successfully. ### 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_discount_prices() print(response.data) ```