For the complete documentation index, see llms.txt. This page is also available as Markdown.

Bulk Update an Item's Properties

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

PROPERTIES

Array

Yes

An array with properties to update

Last updated