Skip to main content

BatchProductPriceInput

Input for batch product pricing

input BatchProductPriceInput {
currency: String
price: Float!
type: BatchProductPriceType
pricelistId: Int
}

Fields

currency ● String

Currency code (e.g. SEK, EUR). If omitted, uses store default currency

price ● Float!

Price value in store's VAT rate

type ● BatchProductPriceType

Type of price: REGULAR (default) or CAMPAIGN

pricelistId ● Int

Pricelist ID. Default is 1

Example

{
"currency": "SEK",
"price": 299,
"type": "REGULAR",
"pricelistId": 1
}