Skip to main content

QuoteLineItem

A single position on a Quote. Either a catalog product, a free-text position, a credit or a promotion, priced per unit and in total.

type QuoteLineItem implements Node {
id: ID!
label: String
productId: ID
quantity: Int
quoteId: ID!
totalPrice: Float
type: QuoteLineItemType!
unitPrice: Float
product: Product
quote: Quote
}

Fields​

QuoteLineItem.id ● ID! non-null scalar​

Global identifier for this entity.

QuoteLineItem.label ● String scalar​

Display label of the position. Always set for custom, credit and promotion positions. On a product position it is the name the merchant gave the position instead of the product's name, and null when the position shows the product's name, which is reached through the product association.

QuoteLineItem.productId ● ID scalar​

ID of the product the position refers to. Null for custom, credit and promotion positions.

QuoteLineItem.quantity ● Int scalar​

Number of units on the position.

QuoteLineItem.quoteId ● ID! non-null scalar​

ID of the quote this line item belongs to.

QuoteLineItem.totalPrice ● Float scalar​

Position total in the quote's currency (unitPrice * quantity). Follows the quote's taxStatus.

QuoteLineItem.type ● QuoteLineItemType! non-null enum​

Kind of position this line item is. Determines whether productId is set.

QuoteLineItem.unitPrice ● Float scalar​

Per-unit price in the quote's currency. Follows the quote's taxStatus.

QuoteLineItem.product ● Product object​

QuoteLineItem.quote ● Quote object​

Interfaces​

Node interface​

Any entity that can be loaded by its global id through the node(id: ID!) query.

Returned By​

quoteLineItem query

Member Of​

QuoteLineItemEdge object