Shopware icon

Shopware

Shopware

Actions778

Custom Field Set → Create Custom Field Set

AI-generated

Overview

This node operation allows users to create a Custom Field Set in Shopware. It is useful for defining custom fields that can be associated with various entities in Shopware, enabling tailored data structures for specific business needs. For example, a user can create a custom field set to add additional product attributes or customer information fields.

Use Case Examples

  1. Creating a new custom field set with a specific name and ID to extend product data.
  2. Defining custom fields and relations within the custom field set to link with products or other entities.

Properties

Name Meaning
Response Data format for the response, either basic or detailed.
Id The unique identifier for the custom field set.
Name The name of the custom field set.
Config Configuration settings for the custom field set in JSON format.
Active Boolean flag indicating if the custom field set is active.
Global Boolean flag indicating if the custom field set is global.
Position Numeric position of the custom field set.
App Id Identifier for the associated app.
Created At Timestamp for when the custom field set was created.
Updated At Timestamp for when the custom field set was last updated.
Custom Fields JSON array defining the custom fields within the set.
Relations JSON array defining relations of the custom field set to other entities.
Products JSON array defining products associated with the custom field set.
App JSON object defining app-related data for the custom field set.

Output

JSON

  • id - The unique identifier of the created custom field set.
  • name - The name of the created custom field set.
  • config - Configuration details of the custom field set.
  • active - Indicates if the custom field set is active.
  • global - Indicates if the custom field set is global.
  • position - Position of the custom field set.
  • appId - Associated app identifier.
  • createdAt - Creation timestamp.
  • updatedAt - Last update timestamp.
  • customFields - Custom fields defined in the set.
  • relations - Relations to other entities.
  • products - Products associated with the custom field set.
  • app - App-related data.

Dependencies

  • An API key credential for Shopware Admin API authentication.

Troubleshooting

  • Ensure that the 'id' and 'name' fields are provided as they are required for creating a custom field set.
  • Verify that JSON fields such as 'config', 'customFields', 'relations', 'products', and 'app' are correctly formatted JSON strings to avoid parsing errors.
  • Check API credentials and base URL configuration to ensure successful connection to the Shopware Admin API.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option in request settings.

Discussion