Use this method to update multiple properties
Usage in your script
const PROPERTIES = [
{ propertyName: "color", propertyValue: "blue" },
{ propertyName: "size", propertyValue: "medium" },
{ propertyName: "weight", propertyValue: "2kg" },
];
const bulkUpdateProperties = await alturaItem.bulkUpdateProperty(PROPERTIES);
const PROPERTIES: { propertyName: string, propertyValue: string }[] = [
{ propertyName: "color", propertyValue: "blue" },
{ propertyName: "size", propertyValue: "medium" },
{ propertyName: "weight", propertyValue: "2kg" },
];
const bulkUpdateProperties: IAlturaItem = await alturaItem.bulkUpdateProperty(
properties
);
Parameters
Parameter
Type
Required
Description
An array with properties to update