Links

Bulk Update an Item's Properties

Use this method to update multiple properties

Usage in your script

JavaScript
TypeScript
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
PROPERTIES
Array
Yes
An array with properties to update