Shopware icon

Shopware

Shopware

Actions778

Customer Wishlist Product → Create Customer Wishlist Product

AI-generated

Overview

This node operation creates a new Customer Wishlist Product in the Shopware system. It is useful for scenarios where you want to add a product to a customer's wishlist programmatically, such as in e-commerce automation workflows or customer engagement processes. For example, when a customer selects a product to save for later, this node can be used to create that wishlist entry automatically.

Use Case Examples

  1. Automatically add a product to a customer's wishlist after a promotional email click.
  2. Sync wishlist products from an external CRM to Shopware.

Properties

Name Meaning
Response Data format for the response, either basic or detailed.
Id The unique identifier for the Customer Wishlist Product to be created.
Product Id The unique identifier of the product to add to the wishlist.
Product Version Id The version identifier of the product, if applicable.
Wishlist Id The identifier of the wishlist to which the product will be added.
Created At Timestamp for when the wishlist product entry was created.
Updated At Timestamp for when the wishlist product entry was last updated.
Wishlist JSON object representing the wishlist details, including nested product and customer information.
Product JSON object representing the product details to be added to the wishlist.
Request Options Additional request options such as batching, SSL handling, proxy, and timeout settings.

Output

JSON

  • id - The unique identifier of the created Customer Wishlist Product.
  • productId - The identifier of the product added to the wishlist.
  • productVersionId - The version identifier of the product.
  • wishlistId - The identifier of the wishlist containing the product.
  • createdAt - Timestamp when the wishlist product was created.
  • updatedAt - Timestamp when the wishlist product was last updated.
  • wishlist - Detailed JSON object of the wishlist including nested customer and product information.
  • product - Detailed JSON object of the product added to the wishlist.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, Product Id, Wishlist Id) are provided to avoid validation errors.
  • Check API credentials and base URL configuration if authentication errors occur.
  • If the response is empty or incomplete, verify the '_response' property setting (basic or detail).
  • For SSL issues, consider enabling 'Ignore SSL Issues' in request options if using self-signed certificates.

Discussion