PriceCalculateBulkLine
The outcome for one requested line. Exactly one of price and error is set.
Every requested (productId, quantity) pair comes back exactly once, priced or explained — a short list is never returned. Callers that treat a missing price as zero depend on this.
type PriceCalculateBulkLine {
productId: Int!
quantity: Int!
price: ProductPrice
error: PriceLineError
}
Fields
PriceCalculateBulkLine.productId ● Int! non-null scalar
The product this result is for.
PriceCalculateBulkLine.quantity ● Int! non-null scalar
The quantity this result was calculated for.
PriceCalculateBulkLine.price ● ProductPrice object
The calculated price, or null if it failed.
PriceCalculateBulkLine.error ● PriceLineError object
Why it failed, or null if it priced.
Returned By
priceCalculateBulk query