This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Increments quantities of multiple inventory items.
Note: trackQuantity
must be true
to allow for incrementing the quantity.
function bulkIncrementInventoryItems(
incrementData: Array<IncrementDataById>,
options: BulkIncrementInventoryItemsOptions,
): Promise<BulkIncrementInventoryItemsResponse>;
Inventory item IDs and increment data.
import { inventoryItemsV3 } from "@wix/stores";
async function bulkIncrementInventoryItems(incrementData, options) {
const response = await inventoryItemsV3.bulkIncrementInventoryItems(
incrementData,
options,
);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.