Skip to main content

costPriceCreate

Create a new cost price record in the system.

Establishes cost pricing for specific quantity tiers and products. Cost prices are used for margin calculations and pricing analysis.

Possible errors:

  • COST_PRICE_CREATE_ERROR: Failed to create the cost price record
  • COST_PRICE_ALREADY_EXISTS_ERROR: Cost price with the same criteria already exists
  • PRICE_NOT_FOUND_ERROR: Associated price record does not exist

AUTH: Role=[pricing.OWNER]

costPriceCreate(
input: CostPriceCreateInput!
): CostPrice!

Arguments

costPriceCreate.input ● CostPriceCreateInput! non-null input

Cost price configuration data including price association, cost value, and quantity thresholds.

All required fields must be provided to establish proper cost pricing structure.

Type

CostPrice object