Shopware icon

Shopware

Shopware

Actions778

Property Group Option → Update Property Group Option

AI-generated

Overview

This node operation updates a Property Group Option in the Shopware system. It is useful for modifying existing property group options by specifying their identifier and providing updated details such as group ID, name, position, color, media, and various related product and group settings. This operation is beneficial in e-commerce scenarios where product property groups need to be managed dynamically, for example, updating color options or media associated with a product property group.

Use Case Examples

  1. Updating the name and color of a property group option to reflect a new product variant.
  2. Changing the position of a property group option to reorder how options appear in the storefront.
  3. Adding or updating media associated with a property group option to enhance product presentation.

Properties

Name Meaning
Id Identifier for the property_group_option, used to specify which option to update.
Response Data format for the response; can be left empty if no specific format is required.
Group Id Identifier of the group to which the property group option belongs.
Name Name of the property group option.
Position Position of the property group option, used for ordering.
Color Hex Code Hexadecimal color code associated with the property group option.
Media Id Identifier for media associated with the property group option.
Custom Fields Custom fields in JSON format for additional data related to the property group option.
Created At Timestamp of when the property group option was created.
Updated At Timestamp of the last update to the property group option.
Translated Translated fields in JSON format for localization purposes.
Media Media details in JSON format associated with the property group option.
Group Group details in JSON format related to the property group option.
Product Configurator Settings JSON array of product configurator settings related to the property group option.
Product Properties JSON array of product properties related to the property group option.
Product Options JSON array of product options related to the property group option.

Output

JSON

  • id - Identifier of the updated property group option.
  • groupId - Identifier of the group the option belongs to.
  • name - Name of the updated property group option.
  • position - Position of the updated property group option.
  • colorHexCode - Hexadecimal color code of the updated property group option.
  • mediaId - Identifier of the media associated with the updated property group option.
  • customFields - Custom fields data of the updated property group option.
  • createdAt - Creation timestamp of the updated property group option.
  • updatedAt - Last update timestamp of the updated property group option.
  • translated - Translated fields data of the updated property group option.
  • media - Media details associated with the updated property group option.
  • group - Group details associated with the updated property group option.
  • productConfiguratorSettings - Product configurator settings related to the updated property group option.
  • productProperties - Product properties related to the updated property group option.
  • productOptions - Product options related to the updated property group option.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure the 'Id' property is correctly set to the identifier of the property group option you want to update; otherwise, the update will fail.
  • Verify that the API credentials are valid and have the necessary permissions to update property group options in Shopware.
  • If the response format is not as expected, check the '_response' property and adjust it accordingly.
  • When providing JSON fields like 'customFields', 'translated', 'media', 'group', 'productConfiguratorSettings', 'productProperties', and 'productOptions', ensure the JSON is correctly formatted to avoid parsing errors.

Discussion