Update paragraph media
shop_update_paragraph_mediaUpdate a paragraph media object (content, type, focal point, and/or image_file). Guidance: Update a paragraph media object (multipart: content and/or image_file upload from local path or URL source). | context: product_id, paragraph_id, media_id
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | Required for EMBED. Embed content/code. | |
| media_id | Yes | Unique ID of the media to update. | |
| image_file | No | Image payload. Accepts: (1) a data URI 'data:image/png;base64,...', (2) a raw base64-encoded string of the image bytes, or (3) a public http(s) URL. Do NOT pass a local filesystem path — the server cannot read the user's disk. | |
| media_type | No | Type of media: PHOTO or EMBED. | |
| product_id | Yes | Numeric id of the product the paragraph belongs to. | |
| focal_point | No | Image crop focal point, format '40x50'. | |
| paragraph_id | Yes | Id of the description paragraph the media belongs to. |