Shopware icon

Shopware

Shopware

Actions778

Mail Template Type → Delete Mail Template Type

AI-generated

Overview

This node deletes a mail template type in the Shopware system. It is useful for scenarios where you need to remove outdated or unnecessary mail template types from your Shopware environment to keep your templates organized and relevant. For example, if a specific mail template type is no longer used or needed, this node can be used to delete it by specifying its identifier.

Use Case Examples

  1. Deleting a mail template type by providing its unique identifier to clean up unused templates in Shopware.
  2. Automating the removal of mail template types as part of a workflow to maintain template hygiene.

Properties

Name Meaning
Id Identifier for the mail_template_type to be deleted.
Response Data format for the response. It can be left empty if no specific response format is required.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration to customize the HTTP request behavior.

Output

JSON

  • id - The identifier of the deleted mail template type.
  • status - The status of the delete operation, indicating success or failure.
  • message - Additional message or information about the delete operation result.

Dependencies

  • An API key credential for authenticating with the Shopware Admin API.

Troubleshooting

  • Ensure the 'Id' property is correctly set to the identifier of an existing mail template type; otherwise, the delete operation will fail.
  • If SSL certificate validation issues occur, consider enabling the 'Ignore SSL Issues' option, but be aware of the security implications.
  • Check proxy settings if the request fails to connect to the Shopware server through a proxy.
  • Timeout errors may occur if the server is slow to respond; increase the timeout setting if necessary.

Discussion