๐ชUpdate Primary Image
Use this method to update an item's primary image.
Usage in your script
const updatedItem = await alturaItem.updatePrimaryImage(IMAGE_INDEX);
Parameters
Parameter
Type
Required
Description
imageIndex
Integer
Yes
The index of the image you wish to change to
Last updated
Was this helpful?