create_product_image
Add an image to a Shopify product using a URL. Optionally assign the image to specific variants.
Instructions
Add an image to a product by URL. Optionally assign it to specific variants.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | The numeric Shopify product ID. | |
| src | Yes | Image URL to upload. | |
| alt | No | Alt text for the image. | |
| position | No | Position/order of the image (1 = first). | |
| variant_ids | No | Variant IDs to associate this image with. Note: newly uploaded media may still be processing; if assignment fails, retry with update_product_image once the media status is READY. |