add_product_images
Add image URLs to a product's gallery to display additional product photos. Images are appended to existing ones and appear immediately on the storefront.
Instructions
[WRITE] 為商品新增圖片。
【用途】 上傳圖片 URL 至商品相簿,圖片會被加入到現有圖片之後。 適用於新增商品展示圖、情境圖等。
【呼叫的 Shopline API】
POST /v1/products/{product_id}/images
【回傳結構】 dict 含 success: bool, resource_id: str, message: str, images: list。
【副作用】
圖片加入商品相簿,前台立即可見
圖片 URL 必須為公開可存取的連結,Shopline 將下載並儲存
圖片數量上限取決於 Shopline 商店方案設定
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | 商品內部 ID | |
| image_urls | Yes | 圖片 URL 列表(公開可存取的圖片連結) |