Shopware icon

Shopware

Shopware

Actions778

User Config → Create User Config

AI-generated

Overview

This node operation creates a new User Config in the Shopware system. It allows users to specify configuration details for a user, such as an ID, user ID, key, value, timestamps for creation and update, and detailed user information in JSON format. This operation is useful for managing user-specific settings or preferences programmatically within Shopware.

Use Case Examples

  1. Creating a user configuration to store user preferences for a Shopware storefront.
  2. Adding a new configuration key-value pair for a specific user to customize their experience.

Properties

Name Meaning
Response Data format for the response, either basic or detailed.
Id Unique identifier for the user config entry.
User Id Identifier of the user to whom the config belongs.
Key The key name for the user configuration setting.
Value The value associated with the key, provided as JSON.
Created At Timestamp indicating when the user config was created.
Updated At Timestamp indicating when the user config was last updated.
User Detailed JSON object representing the user data associated with the config.

Output

JSON

  • id - The unique identifier of the created user config.
  • userId - The user identifier associated with the config.
  • key - The key name of the user config.
  • value - The value stored in the user config.
  • createdAt - Creation timestamp of the user config.
  • updatedAt - Last update timestamp of the user config.
  • user - Detailed user information as a JSON object.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, User Id, Key) are provided to avoid validation errors.
  • If the API returns authentication errors, verify the Shopware Admin API credentials are correctly configured.
  • For JSON fields like Value and User, ensure the input is valid JSON to prevent parsing errors.

Discussion