Shopware icon

Shopware

Shopware

Actions778

App Template → Update App Template

AI-generated

Overview

This node operation updates an existing App Template in the Shopware system. It is useful for scenarios where you need to modify the details of an app template, such as changing its template content, path, activation status, or associated app ID. For example, a developer might use this node to update the template of an app after making changes to its design or functionality.

Use Case Examples

  1. Updating the template content of an app template to reflect new UI changes.
  2. Changing the path or activation status of an app template to enable or disable it.
  3. Modifying the associated app ID or metadata like createdAt and updatedAt timestamps.

Properties

Name Meaning
Id Identifier for the app_template, used to specify which app template to update.
Response Data format for response, used to specify the desired response format from the API.
Template The template content to update in the app template.
Path The path associated with the app template.
Active Boolean flag indicating whether the app template is active or not.
App Id Identifier of the app associated with the template.
Created At Timestamp indicating when the app template was created.
Updated At Timestamp indicating when the app template was last updated.
App JSON object representing the app details associated with the template.
Request Options Additional request options such as batching, SSL settings, proxy, and timeout configurations.

Output

JSON

  • id - Identifier of the updated app template.
  • template - Updated template content.
  • path - Updated path of the app template.
  • active - Activation status of the app template.
  • appId - Identifier of the associated app.
  • createdAt - Creation timestamp of the app template.
  • updatedAt - Last update timestamp of the app template.
  • app - Detailed JSON object of the associated app.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure the 'Id' property is correctly set to the app template you want to update; otherwise, the update will fail or affect the wrong template.
  • Verify that the API credentials are valid and have sufficient permissions to update app templates.
  • If the request times out, consider increasing the 'Timeout' setting in Request Options.
  • If SSL certificate validation fails and you trust the endpoint, enable 'Ignore SSL Issues' in Request Options to bypass SSL errors.

Discussion