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.
type Order {
id: String!
code: String!
createdAt: String!
approvedAt: String!
updatedAt: String!
user: User
shippingAddress: Address!
billingAddress: Address!
subOrders: [SubOrder]
salesChannel: String
}
Fields
Order.id ● String! non-null scalar
The ID of the order. Format: UUID
Order.code ● String! non-null scalar
The code of the order. Format: Alphanumeric
Order.createdAt ● String! non-null scalar
The date when the order was created. Format: Datetime ISO 8601 Example: 2023-07-01T15:50:00+0000
Order.approvedAt ● String! non-null scalar
The date when the order was approved. Format: Datetime ISO 8601 Example: 2023-07-01T15:50:00+0000
Order.updatedAt ● String! non-null scalar
The date when the order was last updated. Format: Datetime ISO 8601 Example: 2023-07-01T15:50:00+0000
Order.user ● User object
The user associated with the order.
Order.shippingAddress ● Address! non-null object
The shipping address for the order.
Order.billingAddress ● Address! non-null object
The billing address for the order.
Order.subOrders ● [SubOrder] list object
The suborders included in the order.
Order.salesChannel ● String scalar
The sales channel of the order.
Returned By
order query
Member Of
OrdersWithPagination object