Add a New Image
This method allows you to append a new image to an existing item at a specified index and optionally set the newly appended image as the primary image.
Usage in your script
Parameters
Parameter
Type
Required
Description
imageUrl
String
Yes
The url of the image/video to add
imageIndex
Int
Yes
The index that the image should be inserted into
setAsPrimary
Boolean
Optional
Boolean to set the newly appened image as the items primary image
Last updated