## Create Discount Prices `ProductCreateDiscountPricesResponse Products.CreateDiscountPrices(ProductCreateDiscountPricesParams?parameters, CancellationTokencancellationToken = default)` **post** `/api/v2/public/products/discountprices` Creates or updates discount prices for products. ### Parameters - `ProductCreateDiscountPricesParams parameters` - `IReadOnlyList? discounts` Body param: The list of discount price entries. - `string? DiscountDescription` - `string? DiscountGroup` - `string? DiscountID` - `Long? DiscountType` - `Boolean IsDelete` - `Long? LineNumber` - `Float? Price` - `string? ProductNumber` The product number this discount applies to. - `DateTimeOffset? ValidFrom` - `DateTimeOffset? ValidTo` - `Boolean isFlush` Header param: When true, removes existing discount prices before inserting. ### Returns - `class ProductCreateDiscountPricesResponse:` Standard success response returned by mutation endpoints. - `string? Data` Optional data payload returned by the operation. - `string? Message` Human-readable message describing the result. - `Boolean Success` Indicates whether the operation completed successfully. ### Example ```csharp ProductCreateDiscountPricesParams parameters = new(); var response = await client.Products.CreateDiscountPrices(parameters); Console.WriteLine(response); ```