Item
Represents each item contained in an order. Cancellations are made at item level within a subOrder. These cancellations are included in the cancellations array. Cancellations are subtracting units to be shipped. When the value is zero and the array of cancellations represents the total of those units, we can consider the subOrder as totally cancelled.
type Item {
id: ID!
unitsToSend: Int!
product: Product
unitPrice: Money!
vat: Float!
cancellations: [CancellationItem!]!
}
Fields
Item.id ● ID! non-null scalar
The identifier of the item. Format: UUID
Item.unitsToSend ● Int! non-null scalar
The number of units to be sent for the item.
Item.product ● Product object
The product associated with the item.
Item.unitPrice ● Money! non-null object
The customer price with discount for the item.
Item.vat ● Float! non-null scalar
Vat applied to the order (In percentage).
Item.cancellations ● [CancellationItem!]! non-null object
Item cancellations.
Member Of
SubOrder object