OrderItem
An item in an Order.
type OrderItem {
adjustedPrice: Float!
adjustedQuantity: Int!
adjustments: [OrderItemAdjustment]
assignedQuantity: Int!
barcode: String
createdAt: Date!
currency: ResonanceCurrency!
customProperties: JSON
deliveryMethod: VariantDeliveryMethod!
demandHqId: ID!
discountTotal: Float!
discounts: [OrderItemDiscount]
fulfilledQuantity: Int!
grandTotal: Float!
note: String
order: Order
orderId: ID!
orderItemId: ID!
productId: ID!
productTitle: String!
purchaseOrderItems: [OrderItemPurchaseOrderItem]
quantity: Int!
shippingCharges: [OrderShippingCharge]
shippingChargesTotal: Float!
shippingMethod: ShippingMethod
sku: String
status: OrderItemStatus!
taxTotal: Float!
taxes: [OrderItemTax]
unitPrice: Float!
updatedAt: Date!
updatedBy: ID!
variantId: ID!
variantTitle: String!
vendor: String!
}
Fields
OrderItem.adjustedPrice
● Float!
non-null scalar
The price of the OrderItem after adjustments.
OrderItem.adjustedQuantity
● Int!
non-null scalar
The quantity of the OrderItem after adjustments.
OrderItem.adjustments
● [OrderItemAdjustment]
list object
OrderItem.assignedQuantity
● Int!
non-null scalar
The quantity of the OrderItem that has been assigned to a PurchaseOrderItem.
OrderItem.barcode
● String
scalar
OrderItem.createdAt
● Date!
non-null scalar
OrderItem.currency
● ResonanceCurrency!
non-null enum
OrderItem.customProperties
● JSON
scalar
OrderItem.deliveryMethod
● VariantDeliveryMethod!
non-null enum
OrderItem.demandHqId
● ID!
non-null scalar
OrderItem.discountTotal
● Float!
non-null scalar
The aggregate amount of all discounts applied to the OrderItem, can be subtracted from the subtotal directly.
OrderItem.discounts
● [OrderItemDiscount]
list object
OrderItem.fulfilledQuantity
● Int!
non-null scalar
The quantity of the OrderItem that has been fulfilled.
OrderItem.grandTotal
● Float!
non-null scalar
The aggregate amount the consumer must pay for the item including price, quantity, adjustments, discounts, shippingCharges, and taxes.
OrderItem.note
● String
scalar
OrderItem.order
● Order
object
Get the order for an orderItem.
Requires the order/read scope on the associated DemandHq.
OrderItem.orderId
● ID!
non-null scalar
OrderItem.orderItemId
● ID!
non-null scalar
OrderItem.productId
● ID!
non-null scalar
OrderItem.productTitle
● String!
non-null scalar
OrderItem.purchaseOrderItems
● [OrderItemPurchaseOrderItem]
list object
OrderItem.quantity
● Int!
non-null scalar
OrderItem.shippingCharges
● [OrderShippingCharge]
list object
OrderItem.shippingChargesTotal
● Float!
non-null scalar
The aggregate amount of all shipping charges applied to the OrderItem, can be added to the subtotal directly.
OrderItem.shippingMethod
● ShippingMethod
enum
OrderItem.sku
● String
scalar
OrderItem.status
● OrderItemStatus!
non-null enum
OrderItem.taxTotal
● Float!
non-null scalar
The aggregate amount of all taxes applied to the OrderItem, can be added to the subtotal directly.
OrderItem.taxes
● [OrderItemTax]
list object
OrderItem.unitPrice
● Float!
non-null scalar
Price per item, can be multiplied by quantity for total price
OrderItem.updatedAt
● Date!
non-null scalar
OrderItem.updatedBy
● ID!
non-null scalar
OrderItem.variantId
● ID!
non-null scalar
OrderItem.variantTitle
● String!
non-null scalar
OrderItem.vendor
● String!
non-null scalar
Returned by
createOrderItem
mutation ● orderItem
query ● updateOrderItem
mutation ● updateOrderItems
mutation
Member of
Order
object ● OrderItemConnection
object ● OrderItemEdge
object