Shopware icon

Shopware

Shopware

Actions778

Customer Wishlist → Update Customer Wishlist

AI-generated

Overview

This node operation updates a Customer Wishlist in the Shopware system. It allows users to modify details of an existing customer wishlist by specifying its identifier and providing updated data such as customer ID, sales channel ID, products, custom fields, and timestamps. This operation is useful in e-commerce workflows where customer wishlists need to be programmatically updated, for example, to add or remove products, change associated customer information, or update metadata.

Use Case Examples

  1. Updating a customer's wishlist to add new products after a promotional campaign.
  2. Modifying the sales channel or customer details associated with a wishlist for targeted marketing.
  3. Adjusting custom fields or timestamps on a wishlist to reflect recent changes or corrections.

Properties

Name Meaning
Id Identifier for the customer_wishlist, used to specify which wishlist to update.
Response Data format for response; controls the response format returned by the API.
Customer Id Identifier of the customer associated with the wishlist.
Sales Channel Id Identifier of the sales channel associated with the wishlist.
Custom Fields Custom JSON fields to include additional data in the wishlist.
Created At Timestamp indicating when the wishlist was created.
Updated At Timestamp indicating when the wishlist was last updated.
Products JSON array representing the products included in the wishlist.
Customer JSON object representing detailed customer information associated with the wishlist.
Sales Channel JSON object representing detailed sales channel information associated with the wishlist.

Output

JSON

  • id - Identifier of the updated customer wishlist.
  • customerId - Identifier of the customer associated with the wishlist.
  • salesChannelId - Identifier of the sales channel associated with the wishlist.
  • customFields - Custom fields data included in the wishlist.
  • createdAt - Creation timestamp of the wishlist.
  • updatedAt - Last update timestamp of the wishlist.
  • products - List of products included in the wishlist.
  • customer - Detailed customer information associated with the wishlist.
  • salesChannel - Detailed sales channel information associated with the wishlist.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure the 'Id' property is correctly set to the existing customer wishlist identifier; otherwise, the update will fail.
  • Verify that the JSON fields for 'Products', 'Customer', and 'Sales Channel' are correctly formatted JSON strings to avoid parsing errors.
  • Check API credentials and base URL configuration to ensure successful authentication and connection to the Shopware Admin API.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option in request settings, but be aware of security implications.

Discussion