Publish an image or video onto a Shopify product
publish_to_shopify_productAttach a finished image or video to a Shopify product listing as product media using the product ID and a public media URL. Video uploads and Shopify processing status are handled for you.
Instructions
Attach a finished IMAGE or VIDEO to one of the merchant's Shopify product listings, as product media. Pass productId (from list_shopify_products, the gid://shopify/Product/… form) and a PUBLIC https mediaUrl, which is what every Hermoso render returns. Whether it is a video is read from the file (.mp4 / .mov / .webm, or the link's content type); pass kind to say so outright. An image is fetched by Shopify directly; a video is uploaded to Shopify for you (MP4, MOV or WEBM, up to Shopify's 1 GB and 10-minute product-video limits; a file over a limit is refused by name, never cut). Shopify processes media asynchronously: the reply is the status read back from Shopify, and READY means it is live on the listing while PROCESSING means it will appear when Shopify finishes. That is success, not a failure. Works for the Shopify store connected to this brand (Connectors > Shopify, or connect_shopify_store) or the store this account was installed on. Free: the render was already paid for.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"productId": "<productId>"
},
"name": "publish_to_shopify_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | alt text for accessibility and SEO; defaults to a generic credit | |
| kind | No | only when the link does not say (no file extension and no content type) | |
| imageUrl | No | older name for mediaUrl; still accepted | |
| mediaUrl | No | any public https image or video URL: a Hermoso render works, and so does ANY file of your own brought in with upload_file | |
| productId | Yes | gid://shopify/Product/… from list_shopify_products |