Shopware icon

Shopware

Shopware

Actions778

Plugin → Create Plugin

AI-generated

Overview

This node operation allows users to create a new Plugin in the Shopware system. It is useful for automating the process of adding plugins with detailed configuration, such as setting the plugin's ID, base class, name, version, and other metadata. This operation supports specifying various plugin attributes including author, license, activation status, and custom fields, enabling comprehensive plugin management within workflows.

Use Case Examples

  1. Automate the creation of a new plugin with specific version and author details.
  2. Create a plugin with custom fields and payment methods configured for a Shopware store.

Properties

Name Meaning
Response Data format for the response, either basic or detailed.
Id Unique identifier for the plugin.
Base Class Base class name for the plugin.
Name Name of the plugin.
Composer Name Composer package name for the plugin.
Autoload Autoload configuration as a JSON object.
Active Boolean flag indicating if the plugin is active.
Managed By Composer Boolean flag indicating if the plugin is managed by Composer.
Path File system path of the plugin.
Author Author of the plugin.
Copyright Copyright information for the plugin.
License License information for the plugin.
Version Version of the plugin.
Upgrade Version Version to upgrade the plugin to.
Installed At Timestamp when the plugin was installed.
Upgraded At Timestamp when the plugin was last upgraded.
Icon Icon representing the plugin (runtime field).
Label Label for the plugin.
Description Description of the plugin.
Manufacturer Link Link to the manufacturer of the plugin.
Support Link Support link for the plugin.
Custom Fields Custom fields as a JSON object for additional plugin data.
Created At Timestamp when the plugin was created.
Updated At Timestamp when the plugin was last updated.
Translated Translated fields as a JSON object.
Payment Methods Payment methods configuration as a JSON object.
Request Options Node-level request options such as batching, SSL handling, proxy, and timeout settings.

Output

JSON

  • id - Unique identifier of the created plugin.
  • baseClass - Base class name of the created plugin.
  • name - Name of the created plugin.
  • composerName - Composer package name of the created plugin.
  • autoload - Autoload configuration of the created plugin.
  • active - Activation status of the created plugin.
  • managedByComposer - Indicates if the plugin is managed by Composer.
  • path - File system path of the created plugin.
  • author - Author of the created plugin.
  • copyright - Copyright information of the created plugin.
  • license - License information of the created plugin.
  • version - Version of the created plugin.
  • upgradeVersion - Upgrade version of the created plugin.
  • installedAt - Installation timestamp of the created plugin.
  • upgradedAt - Last upgrade timestamp of the created plugin.
  • icon - Icon of the created plugin.
  • label - Label of the created plugin.
  • description - Description of the created plugin.
  • manufacturerLink - Manufacturer link of the created plugin.
  • supportLink - Support link of the created plugin.
  • customFields - Custom fields of the created plugin.
  • createdAt - Creation timestamp of the created plugin.
  • updatedAt - Last update timestamp of the created plugin.
  • translated - Translated fields of the created plugin.
  • paymentMethods - Payment methods configuration of the created plugin.

Dependencies

  • Shopware API with appropriate credentials

Troubleshooting

  • Ensure all required fields (Id, Base Class, Name, Autoload, Version, Label) are provided to avoid validation errors.
  • Check JSON format for fields like Autoload, Custom Fields, Translated, and Payment Methods to prevent parsing errors.
  • Verify API credentials and endpoint URL to avoid authentication or connection issues.

Discussion