Skip to content
Get started

Creates or updates product prices.

ProductCreatePricesResponse Products.CreatePrices(ProductCreatePricesParams?parameters, CancellationTokencancellationToken = default)
POST/api/v2/public/products/prices

Creates or updates product prices.

ParametersExpand Collapse
ProductCreatePricesParams parameters
IReadOnlyList<Body> body
required string PriceID

Unique price identifier.

required string ProductNumber

The product number this price applies to.

minLength1
string? CountryCode
Double Price
formatdouble
string? PriceGroup
Double? PriceQuantity
formatdouble
Int PriceType
formatint32
string? PriceUnit
string? StoreNumber
DateTimeOffset ValidFrom
formatdate-time
DateTimeOffset ValidTo
formatdate-time
ReturnsExpand Collapse
class ProductCreatePricesResponse:

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.

Creates or updates product prices.

ProductCreatePricesParams parameters = new();

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

Console.WriteLine(response);
{
  "data": "12345",
  "message": "Record created successfully.",
  "success": true
}
Returns Examples
{
  "data": "12345",
  "message": "Record created successfully.",
  "success": true
}