Skip to main content

createOrder

Create an Order (Draft Status).

Requires the order/write permission on the given DemandHq.

createOrder(
input: OrderCreateInput!
): Order!

Arguments

createOrder.input ● OrderCreateInput! non-null input

Type

Order object

An order is a collection of items that a customer has purchased. As an order accrues transactions, it changes status until it is eventually complete. Orders rely on Suppliers to fulfill the OrderItems by creating PurchaseOrderItems (which are then fulfilled).