Skip to main content

OrderLinesCreate

Create order lines for an order.

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

Fields

OrderLinesCreate.order ● Order object orders

Related order.

OrderLinesCreate.orderLines ● [OrderLine!] list object orders

List of added order lines.

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

DEPRECATED

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

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

Returned By

orderLinesCreate mutation