Shopware icon

Shopware

Shopware

Actions778

Product Download → Update Product Download

AI-generated

Overview

This node operation updates a Product Download resource in the Shopware system. It allows users to modify details of a product download such as its identifiers, associated product and media information, position, timestamps, and custom fields. This operation is useful for managing downloadable products in an e-commerce platform, ensuring that product download data is kept current and accurate.

Use Case Examples

  1. Updating the media associated with a product download to a new file.
  2. Changing the position or order of a product download in a list.
  3. Modifying custom fields or metadata related to a product download.

Properties

Name Meaning
Id Identifier for the product_download, required to specify which product download to update.
_response Data format for the response, used as a query parameter to specify the response format.
versionId Version identifier of the product download, used to specify the version to update.
productId Identifier of the product associated with the download, required for the update.
productVersionId Version identifier of the product associated with the download.
mediaId Identifier of the media associated with the product download, required for the update.
position Position or order of the product download, used to specify its placement.
customFields Custom fields in JSON format, allowing additional metadata or custom data to be included.
createdAt Timestamp for when the product download was created.
updatedAt Timestamp for when the product download was last updated.
product JSON object representing the product details associated with the download, allowing complex nested product data to be included.
media JSON object representing the media details associated with the product download, allowing complex nested media data to be included.
requestOptions Node settings for request options such as batching, SSL issues handling, proxy configuration, and timeout settings.

Output

JSON

  • id - Identifier of the updated product download.
  • versionId - Version identifier of the updated product download.
  • productId - Identifier of the product associated with the updated download.
  • productVersionId - Version identifier of the product associated with the updated download.
  • mediaId - Identifier of the media associated with the updated product download.
  • position - Position or order of the updated product download.
  • customFields - Custom fields data of the updated product download.
  • createdAt - Creation timestamp of the updated product download.
  • updatedAt - Last update timestamp of the updated product download.
  • product - Detailed product information associated with the updated download.
  • media - Detailed media information associated with the updated product download.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, Product Id, Media Id) are provided to avoid validation errors.
  • Check the API credentials and base URL configuration to ensure connectivity to the Shopware instance.
  • If the response format (_response) is specified, ensure it matches supported formats by the Shopware API.
  • For JSON fields like customFields, product, and media, ensure the JSON is well-formed to prevent parsing errors.

Discussion