Bulk Update an Item's Properties
Use this method to update multiple properties
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
);
Parameter | Type | Required | Description |
---|---|---|---|
PROPERTIES | Array | Yes | An array with properties to update |
Last modified 6d ago