Skip to main content

CostPriceCreateInput

Cost price creation data for establishing product cost structures and margin calculations.

Contains essential information to create cost price records including price associations, cost values, and quantity thresholds. Used for inventory management and pricing optimization.

input CostPriceCreateInput {
priceId: String!
value: Float!
quantityFrom: Int!
}

Fields

CostPriceCreateInput.priceId ● String! non-null scalar

Unique identifier of the associated price record.

Must reference an existing price in the system. Cost prices are linked to base prices to enable margin calculations and cost analysis.

CostPriceCreateInput.value ● Float! non-null 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.

CostPriceCreateInput.quantityFrom ● Int! non-null scalar

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

costPriceCreate mutation ● costPricesBulk mutation