Shopware icon

Shopware

Shopware

Actions778

Product Media → Delete Product Media

AI-generated

Overview

This node operation deletes a specific product media item identified by its ID in the Shopware system. It is useful for scenarios where you need to remove media assets associated with products, such as images or videos, to keep the product catalog up to date or to manage storage.

Use Case Examples

  1. Deleting an outdated product image by specifying its media ID.
  2. Removing a video associated with a product that is no longer relevant.

Properties

Name Meaning
Id Identifier for the product_media to be deleted.
Response Data format for the response. Can be left empty if no specific format is required.
Request Options Additional request settings such as batching, SSL certificate validation, proxy configuration, and timeout settings.

Output

JSON

  • success - Indicates whether the deletion operation was successful.
  • message - Additional information or error message related to the deletion operation.

Dependencies

  • Requires Shopware API credentials for authentication.

Troubleshooting

  • Ensure the provided product media ID is correct and exists in the Shopware system to avoid 'not found' errors.
  • Check network connectivity and proxy settings if requests fail to reach the Shopware API.
  • If SSL certificate validation fails, consider enabling the 'Ignore SSL Issues' option, but be aware of security risks.
  • Timeout errors can occur if the server is slow to respond; adjust the timeout setting accordingly.

Discussion