CostPriceUpdateInput
Cost price update data for modifying existing cost price configurations.
Contains optional fields for updating cost price records. Only provided fields will be updated, others remain unchanged. Used for maintaining cost pricing structures and margin calculations.
input CostPriceUpdateInput {
value: Float
validFrom: String
validTo: String
quantityFrom: Int
}
Fields
CostPriceUpdateInput.value ● Float scalar
Cost value for the specified quantity threshold.
Decimal value representing the cost price with up to 5 decimal places precision. Used for margin calculations and cost analysis.
CostPriceUpdateInput.validFrom ● String scalar
Date when this cost price becomes active. If omitted, the cost price is immediately effective.
CostPriceUpdateInput.validTo ● String scalar
Date when this cost price expires. If omitted, the cost price remains active indefinitely.
CostPriceUpdateInput.quantityFrom ● Int scalar
Updated minimum quantity threshold for this cost price tier.
Positive integer representing the minimum quantity required for this cost price to apply. Used for quantity-based cost calculations.
Member Of
costPriceUpdate mutation