Skip to main content

SimpleItem

No description

type SimpleItem implements BaseItem {
id: ID!
productSnapshot: ProductSnapshot
title: String
subtotal: Money
fulfilledItems: Int
quantity: Int!
variantSnapshot: ProductVariantSnapshot
selectedOptions: [SelectedVariantOption!]!
price: Money
discount: OrderItemDiscountDetails
discounts: [OrderItemDiscountDetails!]
sourceType: OrderItemSourceType!
taxable: Boolean
productTax: Float
productVariant: ProductVariant
product: Product
manualDiscounts: [ItemDiscount!]
quantityChanged: Boolean
}

Fields

SimpleItem.id ● ID! non-null scalar

SimpleItem.productSnapshot ● ProductSnapshot object

SimpleItem.title ● String scalar

SimpleItem.subtotal ● Money object

SimpleItem.fulfilledItems ● Int scalar

SimpleItem.quantity ● Int! non-null scalar

SimpleItem.variantSnapshot ● ProductVariantSnapshot object

SimpleItem.selectedOptions ● [SelectedVariantOption!]! non-null object

SimpleItem.price ● Money object

SimpleItem.discount ● OrderItemDiscountDetails object

SimpleItem.discounts ● [OrderItemDiscountDetails!] list object

SimpleItem.sourceType ● OrderItemSourceType! non-null enum

SimpleItem.taxable ● Boolean scalar

SimpleItem.productTax ● Float scalar

SimpleItem.productVariant ● ProductVariant object

SimpleItem.product ● Product object

SimpleItem.manualDiscounts ● [ItemDiscount!] list object

SimpleItem.quantityChanged ● Boolean scalar

Interfaces

BaseItem interface