Shopify - Create product image action

This action will upload and attach an image to an existing product.

Input

FieldDescription
Product IDThe ID of the product to which the image is attached.
Image dataThe image to be uploaded, which can be in the form of either the data string or the URL from which the image can be downloaded.
Image file nameOptional. The name of the image file.
PositionOptional. The placement of this new image among other existing product images. 1 denotes primary image. By default the position is 1 (primary image).
Alt textOptional. The alt tag of the image.
Variant IDsOptional. The list of IDs of the product variants to attach the product image to.

Output

The output of this action is a datatree that contains information about the new product image object.

Learn more about the product image object.

Last updated: