# Shopify - Update product image
This action updates the image data of a product image.
# Input
Field | Description |
---|---|
Product ID | The ID of the product to which the images are attached. |
Image ID | The ID of the image to be updated. |
Position | Optional. The placement of this new image among other existing product images. 1 denotes primary image. By default the position is 1 (primary image). |
Alt text | Optional. The alt tag of the image. |
Variant IDs | Optional. 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 product image object.
Learn more about the product image object (opens new window).
Last updated: 7/10/2024, 3:22:21 PM