MobileOrderItem
One line of an order.
type MobileOrderItem {
acceptAlternativeIfUnavailable: Boolean!
discountAmount: Float
discountPercent: Float
discounts: [MobileDiscountLine!]!
imageUrl: String
lineTotal: Float!
originalUnitPrice: Float
productId: ID!
productName: String!
qtyRules: LineQtyRules
quantity: Float!
unitLabel: String
unitPrice: Float!
uomId: ID
variantId: ID!
variantLabel: String
}
Fields
MobileOrderItem.acceptAlternativeIfUnavailable ● Boolean! non-null scalar
True when the buyer agreed that a substitute may ship if the item becomes unavailable. It is saved when the order is placed and read-only here.
MobileOrderItem.discountAmount ● Float scalar
The discount charged on the line.
MobileOrderItem.discountPercent ● Float scalar
The discount on the line, in percent.
MobileOrderItem.discounts ● [MobileDiscountLine!]! non-null object
Per-line discount attribution — the split the cart bill showed. Empty when the line has no discount scheme lines (legacy orders too); clients render the list as-is and never re-derive it from unitPrice/originalUnitPrice.
MobileOrderItem.imageUrl ● String scalar
The URL of the product image.
MobileOrderItem.lineTotal ● Float! non-null scalar
The line total.
MobileOrderItem.originalUnitPrice ● Float scalar
The price of one unit before discount, saved when the order was placed.
MobileOrderItem.productId ● ID! non-null scalar
The ID of the product.
MobileOrderItem.productName ● String! non-null scalar
The name of the product.
MobileOrderItem.qtyRules ● LineQtyRules object
The smallest, largest and step quantity for this line.
MobileOrderItem.quantity ● Float! non-null scalar
Ordered quantity in the line's pack units (fractional only for non-count packs, e.g. 1.5 KG).
MobileOrderItem.unitLabel ● String scalar
The unit of measure.
MobileOrderItem.unitPrice ● Float! non-null scalar
The price charged for one unit, after discount.
MobileOrderItem.uomId ● ID scalar
The ID of the unit of measure.
MobileOrderItem.variantId ● ID! non-null scalar
The ID of the product variant.
MobileOrderItem.variantLabel ● String scalar
The label of the variant.
Member Of
MobileOrder object