Skip to main content

costPricesBulk

Create multiple cost price records in a single operation.

Efficiently processes multiple cost price configurations simultaneously. Provides detailed results including success counts, error information, and processing status for each record.

Possible errors:

  • COST_PRICE_CREATE_ERROR: Failed to create one or more cost price records
  • COST_PRICE_ALREADY_EXISTS_ERROR: One or more cost prices with the same criteria already exist
  • PRICE_NOT_FOUND_ERROR: One or more associated price records do not exist

AUTH: Role=[pricing.OWNER]

costPricesBulk(
input: [CostPriceCreateInput!]!
): BulkResponseData!

Arguments

costPricesBulk.input ● [CostPriceCreateInput!]! non-null input

Array of cost price configuration data for bulk creation.

Each item must contain complete cost price information including price association, cost value, and quantity thresholds.

Type

BulkResponseData object