Skip to content

UpdateProductPriceMessage

// RB2 Core Connect
namespace CoreConnect.Commerce.Messages;
public class UpdateProductPriceMessage
{
/// <summary>
/// Product SKU
/// </summary>
public string? SKU { get; set; }
/// <summary>
/// Channel; could be a store or location
/// </summary>
public string? Channel { get; set; }
public string? CustomerGroup { get; set; }
public string? Country { get; set; }
public string? Currency { get; set; }
public decimal Price { get; set; }
public DateTime? ValidTo { get; set; }
public DateTime? ValidFrom { get; set; }
public List<UpdatePriceTier> Tiers { get; } = new List<UpdatePriceTier>();
}
public class UpdatePriceTier
{
public int Quantity { get; set; }
public decimal Price { get; set; }
}