SubOrder
A "subOrder" is a subdivision of a main "Order." In our marketplace platform, an "Order" may include products from multiple partners. Each of these products may be handled by a different seller. As a result, "subOrders" are employed to break down the main "Order" into smaller parts, one for each involved seller. Each "subOrder" contains specific purchase details related to the products provided by a particular partner. This simplifies the management of individual responsibilities and payments for each seller within the transaction process. We consider a sub-order cancelled, when the unitsToSend attribute is equal to 0, for each item contained in the sub-order.
type SubOrder {
id: String!
seller: Seller!
items: [Item!]!
orderId: String!
totalPricePerUnitsToSend: Money!
totalPriceWithDiscountPerUnitsToSendWithShippingCosts: Money!
customerShippingCost: Money!
cancellations: [CancellationSuborder!]!
deliveryCommitment: String!
timeSlot: TimeSlot
shipments: [Shipment]
notificationStatus: NotificationStatus
}
Fields
SubOrder.id ● String! non-null scalar
The ID of the suborder. Format: UUID
SubOrder.seller ● Seller! non-null object
The seller associated with the suborder.
SubOrder.items ● [Item!]! non-null object
The items included in the suborder.
SubOrder.orderId ● String! non-null scalar
The order id that the suborder belongs to.
SubOrder.totalPricePerUnitsToSend ● Money! non-null object
The total price per units to send for the suborder.
SubOrder.totalPriceWithDiscountPerUnitsToSendWithShippingCosts ● Money! non-null object
The total price with discount per units to send including shipping costs for the suborder.
SubOrder.customerShippingCost ● Money! non-null object
The customer shipping costs.
SubOrder.cancellations ● [CancellationSuborder!]! non-null object
Sub order cancellations.
SubOrder.deliveryCommitment ● String! non-null scalar
The commitment for the delivery. Values: standard | same_day
SubOrder.timeSlot ● TimeSlot object
The time slot foreseen for the delivery of the order. Values: from "YYYY-MM-DDTHH:MM:SS+0000" | to "YYYY-MM-DDTHH:MM:SS+0000"
SubOrder.shipments ● [Shipment] list object
The shipments associated with the suborder.
SubOrder.notificationStatus ● NotificationStatus object
The shipment notification status.
Member Of
Order object