Shopware icon

Shopware

Shopware

Actions778

Product → Update Product

AI-generated

Overview

This node updates a product in the Shopware system. It allows users to modify various product attributes such as identifiers, pricing, stock, manufacturer details, media, categories, tags, and other product-related metadata. This node is beneficial for e-commerce administrators or developers who need to programmatically update product information in Shopware, for example, updating stock levels, changing prices, or modifying product descriptions.

Use Case Examples

  1. Updating the stock and price of a product identified by its ID.
  2. Changing the manufacturer and adding media assets to a product.
  3. Modifying product categories, tags, and custom fields for better product organization and searchability.

Properties

Name Meaning
Id Identifier for the product (required)
Response Data format for response. Empty if none is provided.
Version Id Version identifier of the product
Parent Id Identifier of the parent product
Parent Version Id Version identifier of the parent product
Manufacturer Id Identifier of the manufacturer
Product Manufacturer Version Id Version identifier of the product manufacturer
Unit Id Identifier of the unit
Tax Id Identifier of the tax (required)
Cover Id Identifier of the cover media
Product Media Version Id Version identifier of the product media
Delivery Time Id Identifier of the delivery time
Feature Set Id Identifier of the feature set
Canonical Product Id Identifier of the canonical product
Canonical Product Version Id Version identifier of the canonical product
Cms Page Id Identifier of the CMS page
Cms Page Version Id Version identifier of the CMS page
Price Price details of the product (required)
Product Number Product number (required)
Restock Time Time to restock the product
Auto Increment Auto increment value
Active Whether the product is active
Available Whether the product is available
Is Closeout Whether the product is a closeout
Available Stock Available stock quantity
Stock Stock quantity (required)
Variation Variation details of the product
Display Group Display group of the product
Variant Listing Config Configuration for variant listing
Variant Restrictions Restrictions for variants
Manufacturer Number Manufacturer number
Ean EAN code
Purchase Steps Steps for purchase quantity
Max Purchase Maximum purchase quantity
Min Purchase Minimum purchase quantity
Purchase Unit Purchase unit quantity
Reference Unit Reference unit quantity
Shipping Free Whether shipping is free
Purchase Prices Purchase price details
Mark As Topseller Whether to mark the product as a top seller
Weight Weight of the product
Width Width of the product
Height Height of the product
Length Length of the product
Release Date Release date of the product
Rating Average Average rating of the product
Category Tree Category tree structure
Property Ids Identifiers of properties
Option Ids Identifiers of options
Stream Ids Identifiers of streams
Tag Ids Identifiers of tags
Category Ids Identifiers of categories
Child Count Count of child products
Custom Field Set Selection Active Whether custom field set selection is active
Sales Sales count
States States of the product
Meta Description Meta description for SEO
Name Name of the product (required)
Keywords Keywords for the product
Description Description of the product
Meta Title Meta title for SEO
Pack Unit Pack unit description
Pack Unit Plural Plural form of pack unit
Custom Fields Custom fields as JSON object
Slot Config Slot configuration as JSON object
Custom Search Keywords Custom search keywords
Created At Creation timestamp
Updated At Update timestamp
Translated Translated fields as JSON object
Downloads Downloadable product files
Parent Parent product details
Children Child products details
Delivery Time Delivery time details
Tax Tax details
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 Prices details
Media Media assets details
Cross Sellings Cross selling products details
Cross Selling Assigned Products Cross selling assigned products details
Configurator Settings Configurator settings details
Visibilities Visibility settings details
Search Keywords Search keywords details
Product Reviews Product reviews details
Main Categories Main categories details
Order Line Items Order line items details
Wishlists Wishlists details
Options Options details
Properties Properties details
Categories Categories details
Streams Streams details
Categories Ro Categories in read-only mode details
Tags Tags details
Custom Field Sets Custom field sets details

Output

JSON

  • id - Identifier of the updated product
  • versionId - Version identifier of the updated product
  • parentId - Identifier of the parent product
  • parentVersionId - Version identifier of the parent product
  • manufacturerId - Identifier of the manufacturer
  • productManufacturerVersionId - Version identifier of the product manufacturer
  • unitId - Identifier of the unit
  • taxId - Identifier of the tax
  • coverId - Identifier of the cover media
  • productMediaVersionId - Version identifier of the product media
  • deliveryTimeId - Identifier of the delivery time
  • featureSetId - Identifier of the feature set
  • canonicalProductId - Identifier of the canonical product
  • canonicalProductVersionId - Version identifier of the canonical product
  • cmsPageId - Identifier of the CMS page
  • cmsPageVersionId - Version identifier of the CMS page
  • price - Price details of the product
  • productNumber - Product number
  • restockTime - Restock time in days
  • autoIncrement - Auto increment value
  • active - Whether the product is active
  • available - Whether the product is available
  • isCloseout - Whether the product is a closeout
  • availableStock - Available stock quantity
  • stock - Stock quantity
  • variation - Variation details of the product
  • displayGroup - Display group of the product
  • variantListingConfig - Configuration for variant listing
  • variantRestrictions - Restrictions for variants
  • manufacturerNumber - Manufacturer number
  • ean - EAN code
  • purchaseSteps - Steps for purchase quantity
  • maxPurchase - Maximum purchase quantity
  • minPurchase - Minimum purchase quantity
  • purchaseUnit - Purchase unit quantity
  • referenceUnit - Reference unit quantity
  • shippingFree - Whether shipping is free
  • purchasePrices - Purchase price details
  • markAsTopseller - Whether the product is marked as a top seller
  • weight - Weight of the product
  • width - Width of the product
  • height - Height of the product
  • length - Length of the product
  • releaseDate - Release date of the product
  • ratingAverage - Average rating of the product
  • categoryTree - Category tree structure
  • propertyIds - Identifiers of properties
  • optionIds - Identifiers of options
  • streamIds - Identifiers of streams
  • tagIds - Identifiers of tags
  • categoryIds - Identifiers of categories
  • childCount - Count of child products
  • customFieldSetSelectionActive - Whether custom field set selection is active
  • sales - Sales count
  • states - States of the product
  • metaDescription - Meta description for SEO
  • name - Name of the product
  • keywords - Keywords for the product
  • description - Description of the product
  • metaTitle - Meta title for SEO
  • packUnit - Pack unit description
  • packUnitPlural - Plural form of pack unit
  • customFields - Custom fields as JSON object
  • slotConfig - Slot configuration as JSON object
  • customSearchKeywords - Custom search keywords
  • createdAt - Creation timestamp
  • updatedAt - Update timestamp
  • translated - Translated fields as JSON object
  • downloads - Downloadable product files
  • parent - Parent product details
  • children - Child products details
  • deliveryTime - Delivery time details
  • tax - Tax details
  • manufacturer - Manufacturer details
  • unit - Unit details
  • cover - Cover media details
  • featureSet - Feature set details
  • cmsPage - CMS page details
  • canonicalProduct - Canonical product details
  • prices - Prices details
  • media - Media assets details
  • crossSellings - Cross selling products details
  • crossSellingAssignedProducts - Cross selling assigned products details
  • configuratorSettings - Configurator settings details
  • visibilities - Visibility settings details
  • searchKeywords - Search keywords details
  • productReviews - Product reviews details
  • mainCategories - Main categories details
  • orderLineItems - Order line items details
  • wishlists - Wishlists details
  • options - Options details
  • properties - Properties details
  • categories - Categories details
  • streams - Streams details
  • categoriesRo - Categories in read-only mode details
  • tags - Tags details
  • customFieldSets - Custom field sets details

Dependencies

  • an API key credential for Shopware

Troubleshooting

  • Ensure the required fields (Id, Tax Id, Price, Product Number, Stock, Name) are provided to avoid validation errors.
  • Check the JSON format for fields accepting JSON input to prevent parsing errors.
  • Verify API credentials and endpoint URL to avoid authentication or connection issues.
  • If the update fails, check for permission issues or API rate limits in Shopware.

Discussion