Shopware icon

Shopware

Shopware

Actions778

Product Stream → Update Product Stream

AI-generated

Overview

This node operation updates an existing Product Stream in the Shopware system. It allows users to modify various attributes of a Product Stream such as its name, description, filters, categories, product cross-sellings, product exports, and custom fields. This operation is useful for managing and customizing product streams dynamically within an e-commerce platform, enabling tailored product groupings and marketing strategies.

Use Case Examples

  1. Updating the name and description of a product stream to reflect a new marketing campaign.
  2. Modifying filters and categories of a product stream to change the products included based on new business rules.
  3. Adding or updating product cross-sellings to enhance product recommendations within the stream.

Properties

Name Meaning
Id Identifier for the product_stream, used to specify which product stream to update.
Response Data format for the response, specifying how the response data should be formatted or returned.
Api Filter JSON object representing API filters to apply to the product stream.
Invalid Boolean flag indicating whether the product stream is invalid or not.
Name The name of the product stream.
Description Description of the product stream.
Custom Fields JSON object containing custom fields for the product stream.
Created At Timestamp string indicating when the product stream was created.
Updated At Timestamp string indicating when the product stream was last updated.
Translated JSON object containing translated fields for the product stream.
Filters JSON object representing filters applied to the product stream.
Product Cross Sellings JSON object representing product cross-selling configurations for the product stream.
Product Exports JSON object representing product export configurations for the product stream.
Categories JSON object representing categories associated with the product stream.

Output

JSON

  • id - The identifier of the updated product stream.
  • name - The name of the updated product stream.
  • description - The description of the updated product stream.
  • filters - Filters applied to the updated product stream.
  • categories - Categories associated with the updated product stream.
  • productCrossSellings - Product cross-selling configurations of the updated product stream.
  • productExports - Product export configurations of the updated product stream.
  • customFields - Custom fields of the updated product stream.
  • createdAt - Creation timestamp of the updated product stream.
  • updatedAt - Last update timestamp of the updated product stream.
  • translated - Translated fields of the updated product stream.
  • invalid - Indicates if the product stream is marked as invalid.

Troubleshooting

  • Ensure the 'Id' property is correctly set to the product stream you want to update; otherwise, the update will fail.
  • Make sure JSON fields like 'Api Filter', 'Filters', 'Custom Fields', 'Translated', 'Product Cross Sellings', 'Product Exports', and 'Categories' are valid JSON strings to avoid parsing errors.
  • If the API returns an error, check the API credentials and permissions to ensure the node has access to update product streams.

Discussion