CustomerResolvedLine
A pasted line resolved to a purchasable variant, repriced server-side.
type CustomerResolvedLine {
inputCode: String!
lineTotal: Float!
matchKind: String!
maxOrderQuantity: Float
minOrderQuantity: Float!
moqValid: Boolean!
orderMultiple: Float!
productId: ID!
productName: String!
quantity: Float!
sku: String!
unitPrice: Float!
uomId: ID!
uomValid: Boolean!
variantId: ID!
}
Fields
CustomerResolvedLine.inputCode ● String! non-null scalar
The code that was pasted.
CustomerResolvedLine.lineTotal ● Float! non-null scalar
The line total.
CustomerResolvedLine.matchKind ● String! non-null scalar
SKU_EXACT | BARCODE_EXACT | NAME_FUZZY | VARIANT_NAME_FUZZY.
CustomerResolvedLine.maxOrderQuantity ● Float scalar
The largest quantity for one line in this unit. Empty means no cap.
CustomerResolvedLine.minOrderQuantity ● Float! non-null scalar
The smallest quantity for one line in this unit. The stricter of the variant's minimum and the pack's own wins, as when an order is created.
CustomerResolvedLine.moqValid ● Boolean! non-null scalar
False when quantity violates the effective minimum/maximum/step for this variant+uom (same rule Add-to-cart enforces).
CustomerResolvedLine.orderMultiple ● Float! non-null scalar
Quantities step by this, counted from 0. 1 or less means no whole-number step.
CustomerResolvedLine.productId ● ID! non-null scalar
The ID of the product.
CustomerResolvedLine.productName ● String! non-null scalar
The name of the product it matched.
CustomerResolvedLine.quantity ● Float! non-null scalar
The quantity.
CustomerResolvedLine.sku ● String! non-null scalar
The SKU of the variant it matched.
CustomerResolvedLine.unitPrice ● Float! non-null scalar
The price of one unit.
CustomerResolvedLine.uomId ● ID! non-null scalar
The ID of the unit of measure.
CustomerResolvedLine.uomValid ● Boolean! non-null scalar
False when the requested UOM token did not match a sellable UOM.
CustomerResolvedLine.variantId ● ID! non-null scalar
The ID of the product variant.
Member Of
CustomerResolvedOrderLines object