shopify_attach_product_media
Attach product images to a Shopify product from public or staged URLs. Supports up to 50 media entries per call for efficient bulk uploads.
Instructions
Attach media (product shots) to an existing product from public URLs or staged resource urls. Up to 50 entries per call. Shopify processes media asynchronously, so freshly attached images may report status UPLOADED before they render on the storefront.
Args:
product_id (required): Product ID to attach media to (numeric or GID).
media (required): JSON-string list of media (max 50): [{original_source, media_content_type?, alt?}]. original_source is a public URL or a staged resource_url.
project_id: Authenticated Project UUID.
project_ref: Exact project correlation reference.
connector_account_ref: Project-bound connector account alias.
idempotency_key: Stable business-action identity.
effect: Claimed read or write effect; Spring verifies it.
approval_ref: Approved platform task UUID when resuming a write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media | No | ||
| effect | No | ||
| product_id | No | ||
| project_id | No | ||
| project_ref | No | ||
| approval_ref | No | ||
| idempotency_key | No | ||
| connector_account_ref | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |