This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Adjusts a specified numerical property for up to 100 products at a time. The property can be increased or decreased either by percentage or amount.
You can only call this method when authenticated as a Wix app or Wix user identity.
function bulkAdjustProductProperty(
adjust: AdjustValue,
ids: Array<string>,
): Promise<BulkAdjustProductPropertiesResponse>;
Numerical property to adjust.
Product IDs.
import { products } from "@wix/stores";
async function bulkAdjustProductProperty(adjust, ids) {
const response = await products.bulkAdjustProductProperty(adjust, ids);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.