This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Creates multiple inventory items.
function bulkCreateInventoryItems(
inventoryItems: Array<InventoryItem>,
options: BulkCreateInventoryItemsOptions,
): Promise<BulkCreateInventoryItemsResponse>;
Inventory items to create.
import { inventoryItemsV3 } from "@wix/stores";
async function bulkCreateInventoryItems(inventoryItems, options) {
const response = await inventoryItemsV3.bulkCreateInventoryItems(
inventoryItems,
options,
);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.