Actions778
- Acl Role Actions
- App Actions
- App Action Button Actions
- App Administration Snippet Actions
- App Cms Block Actions
- App Flow Action Actions
- App Flow Event Actions
- App Payment Method Actions
- App Script Condition Actions
- App Shipping Method Actions
- App Template Actions
- Category Actions
- Cms Block Actions
- Cms Page Actions
- Cms Section Actions
- Cms Slot Actions
- Country Actions
- Country State Actions
- Currency Actions
- Currency Country Rounding Actions
- Custom Entity Actions
- Custom Field Actions
- Custom Field Set Actions
- Custom Field Set Relation Actions
- Customer Actions
- Customer Address Actions
- Customer Group Actions
- Customer Recovery Actions
- Customer Wishlist Actions
- Customer Wishlist Product Actions
- Delivery Time Actions
- Document Actions
- Document Base Config Actions
- Document Base Config Sales Channel Actions
- Document Type Actions
- Flow Actions
- Flow Sequence Actions
- Flow Template Actions
- Import Export File Actions
- Import Export Log Actions
- Import Export Profile Actions
- Integration Actions
- Landing Page Actions
- Language Actions
- Locale Actions
- Log Entry Actions
- Mail Header Footer Actions
- Mail Template Actions
- Mail Template Type Actions
- Main Category Actions
- Media Actions
- Media Default Folder Actions
- Media Folder Actions
- Media Folder Configuration Actions
- Media Thumbnail Actions
- Media Thumbnail Size Actions
- Newsletter Recipient Actions
- Notification Actions
- Number Range Actions
- Number Range Sales Channel Actions
- Number Range State Actions
- Number Range Type Actions
- Order Actions
- Order Customer Actions
- Order Delivery Actions
- Order Delivery Position Actions
- Order Line Item Actions
- Order Line Item Download Actions
- Order Transaction Actions
- Order Transaction Capture Actions
- Order Transaction Capture Refund Actions
- Order Transaction Capture Refund Position Actions
- Payment Method Actions
- Plugin Actions
- Product Actions
- Product Configurator Setting Actions
- Product Cross Selling Actions
- Product Cross Selling Assigned Products Actions
- Product Download Actions
- Product Export Actions
- Product Feature Set Actions
- Product Keyword Dictionary Actions
- Product Manufacturer Actions
- Product Media Actions
- Product Price Actions
- Product Review Actions
- Product Search Config Actions
- Product Search Config Field Actions
- Product Search Keyword Actions
- Product Sorting Actions
- Product Stream Actions
- Product Stream Filter Actions
- Product Visibility Actions
- Promotion Actions
- Promotion Discount Actions
- Promotion Discount Prices Actions
- Promotion Individual Code Actions
- Promotion Sales Channel Actions
- Promotion Setgroup Actions
- Property Group Actions
- Property Group Option Actions
- Rule Actions
- Rule Condition Actions
- Sales Channel Actions
- Sales Channel Analytics Actions
- Sales Channel Domain Actions
- Sales Channel Type Actions
- Salutation Actions
- Scheduled Task Actions
- State Machine Transition Actions
- System Config Actions
- Tag Actions
- Tax Actions
- Tax Provider Actions
- Tax Rule Actions
- Tax Rule Type Actions
- Theme Actions
- Unit Actions
- User Actions
- User Access Key Actions
- User Config Actions
- User Recovery Actions
- Webhook Actions
- Webhook Event Log Actions
- System Info Health Check Actions
- Bulk Operations Actions
- Document Management Actions
- Asset Management Actions
- Mail Operations Actions
- System Operations Actions
- Customer Impersonation Actions
- Order Management Actions
- Order Address Actions
- Authorization Authentication Actions
Product Media → Update Product Media
AI-generatedOverview
This node operation updates a Product Media entity in the Shopware system. It allows users to modify details of product media such as media ID, position, associated product information, and custom fields. This operation is useful for managing and organizing media assets linked to products, ensuring that product images, videos, or other media are correctly updated and associated with the right product versions.
Use Case Examples
- Updating the position of a product image to change its display order on the product page.
- Modifying the media details linked to a product, such as updating tags or custom fields for better categorization.
- Changing the associated product or version for a media item to reflect product updates or corrections.
Properties
| Name | Meaning |
|---|---|
| Id | Identifier for the product_media entity to update. This is required to specify which product media record to modify. |
| _response | Data format for the response. This can be used to specify the desired response format or left empty. |
| versionId | Version identifier for the product media, used to specify the version of the media being updated. |
| Product Id | Identifier of the product to which the media is linked. Required to associate the media with the correct product. |
| Product Version Id | Version identifier for the product, specifying which version of the product the media is associated with. |
| Media Id | Identifier of the media asset being linked or updated. Required to specify the media item. |
| Position | Position of the media in the product media list, used to order media items. |
| Custom Fields | Custom fields in JSON format for additional metadata or custom data related to the product media. |
| Created At | Timestamp indicating when the product media was created. |
| Updated At | Timestamp indicating when the product media was last updated. |
| Product | JSON object representing detailed product information associated with the media. This can include nested product data and related entities. |
| Media | JSON object representing detailed media information, including extensions, tags, thumbnails, and related entities. |
| Cover Products | JSON array representing products that use this media as a cover image, including detailed nested product data. |
Output
JSON
id- The identifier of the updated product media.versionId- The version identifier of the updated product media.productId- The identifier of the product associated with the media.productVersionId- The version identifier of the product associated with the media.mediaId- The identifier of the media asset linked to the product media.position- The position of the media in the product media list.customFields- Custom fields associated with the product media.createdAt- Timestamp when the product media was created.updatedAt- Timestamp when the product media was last updated.product- Detailed product information associated with the media.media- Detailed media information linked to the product media.coverProducts- Products that use this media as a cover image.
Dependencies
- Shopware API with appropriate credentials
Troubleshooting
- Ensure all required fields (Id, Product Id, Media Id) are provided to avoid validation errors.
- Check API credentials and permissions to ensure the node can update product media in Shopware.
- Verify JSON format for complex fields like Custom Fields, Product, Media, and Cover Products to prevent parsing errors.
- Timeouts or network issues may occur; adjust timeout and proxy settings in Request Options if needed.