Shopware icon

Shopware

Shopware

Actions778

Product Review → Create Product Review

AI-generated

Overview

This node operation allows users to create a product review in the Shopware system. It is useful for scenarios where customer feedback on products needs to be collected and managed programmatically, such as automating review submissions from external sources or integrating review creation into a larger workflow. For example, an e-commerce platform can use this node to automatically add customer reviews after purchase completion.

Use Case Examples

  1. Automatically create a product review after a customer completes a purchase.
  2. Integrate external review data into the Shopware product review system.

Properties

Name Meaning
Response Data format for response, either basic or detailed.
Id Unique identifier for the product review (required).
Product Id Identifier of the product being reviewed (required).
Product Version Id Version identifier of the product.
Customer Id Identifier of the customer submitting the review.
Sales Channel Id Identifier of the sales channel (required).
Language Id Identifier of the language (required).
External User External user name associated with the review.
External Email External email associated with the review.
Title Title of the product review (required).
Content Content/body of the product review (required).
Points Rating points given in the review.
Status Status of the review, true for active, false for inactive.
Comment Additional comment related to the review.
Custom Fields Custom fields in JSON format for additional data.
Created At Timestamp when the review was created.
Updated At Timestamp when the review was last updated.
Product JSON object representing detailed product information.
Customer JSON object representing detailed customer information.
Sales Channel JSON object representing detailed sales channel information.
Language JSON object representing detailed language information.

Output

JSON

  • id - Unique identifier of the created product review.
  • productId - Identifier of the product reviewed.
  • customerId - Identifier of the customer who submitted the review.
  • salesChannelId - Identifier of the sales channel where the review was submitted.
  • languageId - Identifier of the language used in the review.
  • title - Title of the product review.
  • content - Content/body of the product review.
  • points - Rating points given in the review.
  • status - Status of the review, indicating if it is active or inactive.
  • createdAt - Timestamp when the review was created.
  • updatedAt - Timestamp when the review was last updated.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, Product Id, Sales Channel Id, Language Id, Title, Content) are provided to avoid validation errors.
  • If the API returns authentication errors, verify that the Shopware Admin API credentials are correctly configured and have necessary permissions.
  • For JSON fields (Product, Customer, Sales Channel, Language, Custom Fields), ensure valid JSON format to prevent parsing errors.
  • If the response is empty or incomplete, check the '_response' property to select the appropriate response detail level.

Discussion