Skip to main content

orderBulkCreate Mutation

Creates multiple orders.

Requires the MANAGE_ORDERS_IMPORTpermission.
orderBulkCreate(
errorPolicy: ErrorPolicyEnum
orders: [OrderBulkCreateInput!]!
stockUpdatePolicy: StockUpdatePolicyEnum
): OrderBulkCreate
Show return type

Arguments

errorPolicy ● ErrorPolicyEnum

Policies of error handling. DEFAULT: REJECT_EVERYTHING

orders ● [OrderBulkCreateInput!]!

Input list of orders to create. Orders limit: 50.

stockUpdatePolicy ● StockUpdatePolicyEnum

Determine how stock should be updated, while processing the order. DEFAULT: UPDATE - Only do update, if there is enough stocks.

Type

OrderBulkCreate

Creates multiple orders.

Requires the MANAGE_ORDERS_IMPORTpermission.