Add new Properties

Use this method to add a new property to an Item.

Usage in your script

const addProperty = await alturaItem.addProperty(PROPERTY_NAME, PROPERTY_VALUE);

Parameters

ParameterTypeRequiredDescription

PROPERTY_NAME

String

Yes

The name (key) of the property you'd like to change

PROPERTY_VALUE

String

Yes

The new value you'd like to set the property to

Last updated