Skip to main content

DraftOrderCreate Object

Creates a new draft order.

Requires MANAGE_ORDERSpermission.
type DraftOrderCreate {
orderErrors: [OrderError!]! @deprecated
errors: [OrderError!]!
order: Order
}

Fields

DraftOrderCreate.orderErrors ● [OrderError!]! deprecated non-null object orders

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

DraftOrderCreate.errors ● [OrderError!]! non-null object orders

DraftOrderCreate.order ● Order object orders

Returned By

draftOrderCreate mutation