Shopware icon

Shopware

Shopware

Actions778

App Template → Create App Template

AI-generated

Overview

This node operation allows users to create a new App Template in the Shopware system. It is useful for automating the creation of app templates by specifying details such as template ID, template content, path, active status, and associated app ID. This can be applied in scenarios where developers or administrators need to programmatically manage app templates within Shopware, for example, during app deployment or configuration updates.

Use Case Examples

  1. Creating a new app template with specific template content and path for a given app ID.
  2. Activating or deactivating an app template by setting the active flag.
  3. Providing detailed or basic response format for the creation operation.

Properties

Name Meaning
Response Data format for the response, either basic or detailed.
Id The unique identifier for the app template to be created.
Template The content or structure of the app template.
Path The path associated with the app template.
Active Boolean flag indicating whether the app template is active.
App Id The identifier of the app to which the template belongs.
Created At Timestamp indicating when the app template was created.
Updated At Timestamp indicating when the app template was last updated.
App A JSON object representing the app details and related nested data structures.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • id - The unique identifier of the created app template.
  • template - The content or structure of the created app template.
  • path - The path associated with the created app template.
  • active - Indicates if the created app template is active.
  • appId - The identifier of the app to which the created template belongs.
  • createdAt - Timestamp when the app template was created.
  • updatedAt - Timestamp when the app template was last updated.
  • app - JSON object containing detailed app information related to the template.

Dependencies

  • An API key credential for Shopware Admin API authentication.

Troubleshooting

  • Ensure all required fields (Id, Template, Path, Active, App Id) are provided to avoid validation errors.
  • If the API returns SSL certificate errors, consider enabling the 'Ignore SSL Issues' option or configuring a valid proxy.
  • Timeout errors can be resolved by increasing the timeout setting in request options.
  • Batching settings should be configured properly to avoid request throttling issues.

Discussion