Shopware icon

Shopware

Shopware

Actions778

System Config → Update System Config

AI-generated

Overview

This node updates a system configuration in the Shopware platform. It is useful for scenarios where you need to modify system settings programmatically, such as changing configuration keys and values, updating timestamps, or associating the configuration with a specific sales channel. For example, you can update the maintenance IP whitelist or payment method IDs for a sales channel.

Use Case Examples

  1. Updating a system configuration key-value pair to change system behavior.
  2. Modifying sales channel settings by updating the associated sales channel JSON object.

Properties

Name Meaning
Id Identifier for the system configuration to update, required to specify which configuration to modify.
Response Data format for the response; can be empty if no specific format is provided.
Configuration Key The key of the configuration setting to update.
Configuration Value The value for the configuration key, provided as JSON.
Sales Channel Id Identifier for the sales channel associated with the configuration.
Created At Timestamp for when the configuration was created.
Updated At Timestamp for when the configuration was last updated.
Sales Channel A JSON object representing the sales channel details associated with the configuration.
Request Options Node settings for request behavior such as batching, SSL certificate validation, proxy settings, and timeout.

Output

JSON

  • id - Identifier of the updated system configuration.
  • configurationKey - The configuration key that was updated.
  • configurationValue - The new value set for the configuration key.
  • salesChannelId - Identifier of the associated sales channel.
  • createdAt - Creation timestamp of the configuration.
  • updatedAt - Last update timestamp of the configuration.
  • salesChannel - Details of the sales channel associated with the configuration.

Dependencies

  • Requires Shopware Admin API credentials for authentication.

Troubleshooting

  • Ensure the 'Id' property is correctly set to identify the system configuration to update; missing or incorrect Id will cause errors.
  • The 'Configuration Value' must be valid JSON; invalid JSON will cause parsing errors.
  • If SSL certificate validation is disabled, be cautious of security risks when ignoring SSL issues.
  • Proxy settings must be correctly configured if used; incorrect proxy URLs or credentials can cause request failures.
  • Timeout settings should be adjusted based on network conditions to avoid premature request termination.

Discussion