Shopware icon

Shopware

Shopware

Actions778

Product Cross Selling Assigned Products → Update Product Cross Selling Assigned Products

AI-generated

Overview

This node updates assigned products for product cross-selling in a Shopware system. It is useful for managing and modifying the relationships between products and their cross-selling assignments, allowing users to update details such as product IDs, cross-selling IDs, positions, and timestamps. Practical examples include updating the list of products that appear as cross-sell recommendations on a product page or adjusting the order and details of assigned products in cross-selling campaigns.

Use Case Examples

  1. Updating the assigned products for a specific cross-selling campaign to include new products.
  2. Changing the position of assigned products within a cross-selling group to optimize product recommendations.

Properties

Name Meaning
Id Identifier for the product_cross_selling_assigned_products to update.
_response Data format for the response, used as a query parameter.
crossSellingId Identifier for the cross-selling group to which the product is assigned.
productId Identifier for the product being assigned to the cross-selling group.
productVersionId Version identifier of the product.
position Position of the product within the cross-selling assigned products list.
createdAt Timestamp when the assignment was created.
updatedAt Timestamp when the assignment was last updated.
product JSON object representing detailed product information, including pricing, categories, media, and related entities.
crossSelling JSON object representing detailed cross-selling information, including related products and metadata.
requestOptions Additional request options such as batching, SSL settings, proxy, and timeout configurations.

Output

JSON

  • id - Identifier of the updated product cross-selling assigned product.
  • crossSellingId - Identifier of the cross-selling group.
  • productId - Identifier of the assigned product.
  • productVersionId - Version identifier of the product.
  • position - Position of the product in the cross-selling list.
  • createdAt - Creation timestamp of the assignment.
  • updatedAt - Last update timestamp of the assignment.
  • product - Detailed product information as a JSON object.
  • crossSelling - Detailed cross-selling information as a JSON object.

Dependencies

  • An API key credential for Shopware Admin API authentication

Troubleshooting

  • Ensure all required fields (id, crossSellingId, productId) are provided to avoid validation errors.
  • Check API credentials and base URL configuration if authentication errors occur.
  • Verify JSON format for 'product' and 'crossSelling' fields to prevent parsing errors.
  • Adjust request options like timeout and batching if requests fail or time out.

Discussion