Skip to main content

Objects overview

📄️ Order

An "Order" represents a comprehensive transaction made by a customer on our marketplace platform. This transaction typically encompasses one or more products or services that the customer has selected from one or multiple partners. An "Order" compiles all the relevant details related to the purchase, such as the purchased products or services, quantities, prices, customer information, delivery address, payment method, and any other pertinent information. In essence, an "Order" signifies the overall purchase made by a customer. We consider an order cancelled, when all its subOrders have been cancelled.

📄️ 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.