Skip to main content

orderBulkCreate Mutation

Creates multiple orders.

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

Arguments

orderBulkCreate.errorPolicy ● ErrorPolicyEnum enum miscellaneous

Policies of error handling. DEFAULT: REJECT_EVERYTHING

orderBulkCreate.orders ● [OrderBulkCreateInput!]! non-null input orders

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

orderBulkCreate.stockUpdatePolicy ● StockUpdatePolicyEnum enum miscellaneous

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

Type

OrderBulkCreate object orders

Creates multiple orders.

Requires MANAGE_ORDERS_IMPORTpermission.