Shopware icon

Shopware

Shopware

Actions778

Integration → Create Integration

AI-generated

Overview

This node operation creates a new Integration in the Shopware system. It is useful for automating the creation of integrations that connect external systems or services with Shopware, allowing for programmatic management of integration credentials and settings. For example, it can be used to create API integrations with specific access keys and roles, facilitating secure and controlled access to Shopware resources.

Use Case Examples

  1. Creating a new integration with a unique ID, label, access key, and secret access key to enable an external application to interact with Shopware APIs.
  2. Automating the setup of integrations with custom fields and ACL roles to manage permissions and extend functionality.

Properties

Name Meaning
Response Data format for response, either basic or detailed.
Id Unique identifier for the integration.
Label Label or name for the integration.
Access Key Access key used for authentication in the integration.
Secret Access Key Secret key used for authentication in the integration.
Last Usage At Timestamp of the last usage of the integration.
Admin Boolean flag indicating if the integration has admin privileges.
Custom Fields Custom fields in JSON format for additional integration data.
Deleted At Timestamp when the integration was deleted.
Created At Timestamp when the integration was created.
Updated At Timestamp when the integration was last updated.
Extensions JSON object containing additional extension data related to the integration.
App JSON object representing the app configuration and related nested data for the integration.
Acl Roles JSON array defining ACL roles and associated privileges and users for the integration.
Request Options Node settings for request options such as batching, SSL handling, proxy, and timeout.

Output

JSON

  • id - Unique identifier of the created integration.
  • label - Label or name of the created integration.
  • accessKey - Access key of the created integration.
  • secretAccessKey - Secret access key of the created integration.
  • lastUsageAt - Timestamp of the last usage of the integration.
  • admin - Indicates if the integration has admin privileges.
  • customFields - Custom fields associated with the integration.
  • deletedAt - Timestamp when the integration was deleted.
  • createdAt - Timestamp when the integration was created.
  • updatedAt - Timestamp when the integration was last updated.
  • extensions - Additional extension data related to the integration.
  • app - App configuration and related nested data for the integration.
  • aclRoles - ACL roles and associated privileges and users for the integration.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, Label, Access Key, Secret Access Key) are provided to avoid validation errors.
  • If the API returns authentication errors, verify the API key credential and permissions.
  • For JSON fields like Custom Fields, Extensions, App, and Acl Roles, ensure the JSON is well-formed to prevent parsing errors.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option in Request Options or configure a valid SSL certificate.

Discussion