## Creates or updates product prices.

`ProductCreatePricesResponse Products.CreatePrices(ProductCreatePricesParams?parameters, CancellationTokencancellationToken = default)`

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

Creates or updates product prices.

### Parameters

- `ProductCreatePricesParams parameters`

  - `IReadOnlyList<Price>? prices`

    The product prices to create or update.

    - `required Double Price`

      Price value.

    - `required string PriceID`

      Unique price identifier.

    - `required Int PriceType`

      Numeric price type.

    - `required string ProductNumber`

      The product number this price applies to.

    - `required DateTimeOffset ValidFrom`

      Start of the price's validity period.

    - `required DateTimeOffset ValidTo`

      End of the price's validity period.

    - `string? CountryCode`

      Optional ISO country code restricting the price.

    - `string? PriceGroup`

      Optional price group identifier.

    - `Double? PriceQuantity`

      Quantity for which the price applies.

    - `string? PriceUnit`

      Unit of measure the price applies to.

    - `string? StoreNumber`

      Optional store number restricting the price.

### Returns

- `class ProductCreatePricesResponse:`

  Standard success response returned by mutation endpoints.

  - `required Boolean Success`

    Indicates whether the operation completed successfully.

  - `string? Data`

    Optional data payload returned by the operation.

  - `string? Message`

    Human-readable message describing the result.

### Example

```csharp
ProductCreatePricesParams parameters = new();

var response = await client.Products.CreatePrices(parameters);

Console.WriteLine(response);
```

#### Response

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