create_store_product_image
Add a unique image to an e-commerce product using a publicly reachable URL. Provide store, product, and image IDs for manual commerce integrations.
Instructions
Add an image to a product in an e-commerce store.
image_id is client-supplied and must be unique within the product; url must point to a publicly reachable image. Manual commerce writes suit custom/headless stores; Shopify and WooCommerce integrations sync product images automatically.
Args: store_id: E-commerce store ID. Obtain from list_ecommerce_stores. product_id: Product ID to attach the image to. image_id: Client-supplied unique ID for the new image (e.g. 'img_1'). url: Publicly reachable URL of the image. additional_fields: Optional dict of extra image fields merged into the body (e.g. variant_ids).
Returns: JSON with the created image object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| account | No | ||
| image_id | Yes | ||
| store_id | Yes | ||
| product_id | Yes | ||
| additional_fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |