Shopware icon

Shopware

Shopware

Actions778

Property Group Option → Create Property Group Option

AI-generated

Overview

This node operation creates a new Property Group Option in the Shopware system. It is useful for managing product property groups by adding options with specific attributes such as name, group ID, position, color, media, and custom fields. This operation supports detailed customization of the property group option, including timestamps and translations, making it suitable for e-commerce platforms that require structured product attribute management.

Use Case Examples

  1. Creating a new color option for a product property group with a specific position and media attachment.
  2. Adding a new size option to a property group with custom fields and translated names for different locales.

Properties

Name Meaning
Response Specifies the data format for the response, either basic or detailed.
Id The unique identifier for the property group option to be created.
Group Id The identifier of the group to which this option belongs.
Name The name of the property group option.
Position The position or order of the option within the group.
Color Hex Code The color code in hexadecimal format associated with the option.
Media Id The identifier for the media associated with the option.
Custom Fields Custom JSON fields for additional data related to the option.
Created At Timestamp indicating when the option was created.
Updated At Timestamp indicating when the option was last updated.
Translated JSON object containing translations for the option.
Media JSON object representing media details associated with the option.
Group JSON object representing the group details to which the option belongs.
Product Configurator Settings JSON array representing product configurator settings related to the option.
Product Properties JSON array representing product properties related to the option.
Product Options JSON array representing product options related to the option.

Output

JSON

  • id - The unique identifier of the created property group option.
  • groupId - The identifier of the group to which the option belongs.
  • name - The name of the created property group option.
  • position - The position of the option within the group.
  • colorHexCode - The hexadecimal color code associated with the option.
  • mediaId - The identifier of the media associated with the option.
  • customFields - Custom fields data associated with the option.
  • createdAt - Timestamp when the option was created.
  • updatedAt - Timestamp when the option was last updated.
  • translated - Translations data for the option.
  • media - Media details associated with the option.
  • group - Group details associated with the option.
  • productConfiguratorSettings - Product configurator settings related to the option.
  • productProperties - Product properties related to the option.
  • productOptions - Product options related to the option.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, Group Id, Name) are provided to avoid validation errors.
  • Check API credentials and base URL configuration if authentication errors occur.
  • Verify JSON format for fields like Custom Fields, Translated, Media, Group, Product Configurator Settings, Product Properties, and Product Options to prevent parsing errors.

Discussion