Skip to main content
Version: 3.x

orderBulkCreate

Creates multiple orders.

Added in Saleor 3.14
This API is currently in Feature Preview and can be subject to changes at later point.
Requires MANAGE_ORDERS_IMPORTpermission.
orderBulkCreate(
errorPolicy: ErrorPolicyEnum
orders: [OrderBulkCreateInput!]!
stockUpdatePolicy: StockUpdatePolicyEnum
): OrderBulkCreate

Arguments

orderBulkCreate.errorPolicy ● ErrorPolicyEnum enum

Policies of error handling. DEFAULT: REJECT_EVERYTHING

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

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

orderBulkCreate.stockUpdatePolicy ● StockUpdatePolicyEnum enum

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

Type

OrderBulkCreate object

Creates multiple orders.

Added in Saleor 3.14
This API is currently in Feature Preview and can be subject to changes at later point.
Requires MANAGE_ORDERS_IMPORTpermission.

Was this page helpful?