Shopware icon

Shopware

Shopware

Actions778

Product Cross Selling Assigned Products → Create Product Cross Selling Assigned Products

AI-generated

Overview

This node operation creates a new Product Cross Selling Assigned Product in the Shopware system. It is useful for e-commerce scenarios where you want to programmatically assign products to cross-selling groups, enhancing product recommendations and boosting sales. For example, you can automate the assignment of related products to a cross-selling campaign based on product IDs and cross-selling IDs.

Use Case Examples

  1. Assign a product to a cross-selling group by specifying the product ID and cross-selling ID to create a new cross-selling assigned product entry.
  2. Automate the creation of cross-selling relationships between products to improve customer shopping experience and increase average order value.

Properties

Name Meaning
Response Data format for the response, either basic or detailed.
Id The unique identifier for the cross-selling assigned product entry.
Cross Selling Id The identifier of the cross-selling group to which the product is assigned.
Product Id The identifier of the product being assigned to the cross-selling group.
Product Version Id Optional version identifier of the product.
Position The position or order of the product within the cross-selling group.
Created At Timestamp when the cross-selling assigned product was created.
Updated At Timestamp when the cross-selling assigned product was last updated.
Product JSON object representing detailed product information associated with the assigned product.
Cross Selling JSON object representing detailed cross-selling group information.

Output

JSON

  • id - Unique identifier of the created cross-selling assigned product.
  • crossSellingId - Identifier of the cross-selling group.
  • productId - Identifier of the assigned product.
  • productVersionId - Version identifier of the product, if applicable.
  • position - Position of the product within the cross-selling group.
  • createdAt - Creation timestamp of the assigned product entry.
  • updatedAt - Last update timestamp of the assigned product entry.
  • product - Detailed product information as a JSON object.
  • crossSelling - Detailed cross-selling group information as a JSON object.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, Cross Selling Id, Product Id) are provided to avoid validation errors.
  • Check API credentials and base URL configuration if authentication errors occur.
  • Verify JSON format for 'Product' and 'Cross Selling' fields to prevent parsing errors.
  • Timeouts can occur if the server is slow; adjust the timeout setting in request options if needed.

Discussion