Shopware icon

Shopware

Shopware

Actions778

Product → Create Product

AI-generated

Overview

This node operation allows users to create a new product in the Shopware system. It supports a comprehensive set of product attributes, enabling detailed product configuration and management. This is beneficial for e-commerce businesses that need to automate product creation with rich metadata, pricing, categorization, and media attachments. For example, a retailer can use this node to programmatically add new products with specific prices, stock levels, categories, and associated media files.

Use Case Examples

  1. Creating a new product with basic details like name, price, and stock.
  2. Adding a product with detailed attributes such as manufacturer, tax information, delivery time, and custom fields.
  3. Uploading product media and associating categories, tags, and variants during product creation.

Properties

Name Meaning
Response Data format for response, either basic or detailed.
Id Unique identifier for the product.
Version Id Version identifier for the product.
Parent Id Identifier of the parent product if this is a variant.
Parent Version Id Version identifier of the parent product.
Manufacturer Id Identifier of the product's manufacturer.
Product Manufacturer Version Id Version identifier for the product manufacturer.
Unit Id Identifier for the unit of measurement.
Tax Id Identifier for the tax rate applicable to the product.
Cover Id Identifier for the cover media of the product.
Product Media Version Id Version identifier for the product media.
Delivery Time Id Identifier for the delivery time configuration.
Feature Set Id Identifier for the feature set associated with the product.
Canonical Product Id Identifier for the canonical product.
Canonical Product Version Id Version identifier for the canonical product.
Cms Page Id Identifier for the CMS page associated with the product.
Cms Page Version Id Version identifier for the CMS page.
Price Price details of the product, including list and regulation prices.
Product Number Unique product number or SKU.
Restock Time Time in days to restock the product.
Auto Increment Auto increment value for product numbering.
Active Boolean indicating if the product is active.
Available Boolean indicating if the product is available for purchase.
Is Closeout Boolean indicating if the product is a closeout item.
Available Stock Quantity of stock available.
Stock Total stock quantity.
Variation Variation details of the product.
Display Group Display group for the product.
Variant Listing Config Configuration for variant listing.
Variant Restrictions Restrictions applied to product variants.
Manufacturer Number Manufacturer's product number.
Ean European Article Number (EAN) for the product.
Purchase Steps Steps for purchase quantity increments.
Max Purchase Maximum purchase quantity allowed.
Min Purchase Minimum purchase quantity allowed.
Purchase Unit Unit for purchase quantity.
Reference Unit Reference unit for the product.
Shipping Free Boolean indicating if shipping is free for the product.
Purchase Prices Purchase price details.
Mark As Topseller Boolean indicating if the product is marked as a top seller.
Weight Weight of the product.
Width Width dimension of the product.
Height Height dimension of the product.
Length Length dimension of the product.
Release Date Release date of the product.
Rating Average Average rating of the product.
Category Tree Category tree structure for the product.
Property Ids List of property identifiers associated with the product.
Option Ids List of option identifiers associated with the product.
Stream Ids List of stream identifiers associated with the product.
Tag Ids List of tag identifiers associated with the product.
Category Ids List of category identifiers associated with the product.
Child Count Number of child products or variants.
Custom Field Set Selection Active Boolean indicating if custom field set selection is active.
Sales Sales count or metric for the product.
States States or statuses associated with the product.
Meta Description Meta description for SEO.
Name Name of the product.
Keywords Keywords associated with the product.
Description Description of the product.
Meta Title Meta title for SEO.
Pack Unit Unit for packaging.
Pack Unit Plural Plural form of the packaging unit.
Custom Fields Custom fields for additional product data.
Slot Config Slot configuration for the product.
Custom Search Keywords Custom search keywords for the product.
Created At Creation timestamp of the product.
Updated At Last update timestamp of the product.
Translated Translated fields for the product.
Downloads Downloadable content associated with the product.
Parent Parent product details if this is a variant.
Children Child products or variants.
Delivery Time Delivery time details.
Tax Tax details associated with the product.
Manufacturer Manufacturer details.
Unit Unit details.
Cover Cover media details.
Feature Set Feature set details.
Cms Page CMS page details.
Canonical Product Canonical product details.
Prices Price details including list and regulation prices.
Media Media associated with the product.
Cross Sellings Cross selling product details.
Cross Selling Assigned Products Products assigned to cross selling.
Configurator Settings Configurator settings for the product.
Visibilities Visibility settings for the product.
Search Keywords Search keywords associated with the product.
Product Reviews Reviews for the product.
Main Categories Main categories the product belongs to.
Order Line Items Order line items associated with the product.
Wishlists Wishlists containing the product.
Options Options associated with the product.
Properties Properties associated with the product.
Categories Categories associated with the product.
Streams Streams associated with the product.
Categories Ro Categories read-only or localized.
Tags Tags associated with the product.
Custom Field Sets Custom field sets associated with the product.

Output

JSON

  • id - Unique identifier of the created product
  • versionId - Version identifier of the created product
  • name - Name of the created product
  • productNumber - Product number or SKU
  • stock - Stock quantity
  • price - Price details of the product
  • manufacturerId - Identifier of the manufacturer
  • taxId - Identifier of the tax rate
  • active - Boolean indicating if the product is active
  • available - Boolean indicating if the product is available for purchase
  • createdAt - Timestamp when the product was created
  • updatedAt - Timestamp when the product was last updated

Dependencies

  • an API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, Tax Id, Price, Product Number, Name, Stock) are provided to avoid validation errors.
  • Check the JSON format for complex fields like price, variation, and custom fields to prevent parsing errors.
  • Verify API credentials and endpoint URL are correctly configured to avoid authentication or connection issues.
  • If the response format is set to 'detail', expect a more comprehensive product data structure in the output.

Discussion