Shopware icon

Shopware

Shopware

Actions778

Mail Template → Delete Mail Template

AI-generated

Overview

This node operation deletes a mail template identified by a given ID in the Shopware system. It is useful for scenarios where you need to programmatically remove outdated or unwanted mail templates from your Shopware environment, such as cleaning up templates after campaigns or automating template management.

Use Case Examples

  1. Deleting a specific mail template by its ID to maintain an organized template library.
  2. Automating the removal of mail templates that are no longer needed after a marketing campaign.

Properties

Name Meaning
Id Identifier for the mail_template to be deleted, required to specify which mail template to remove.
Response Data format for the response. It can be left empty if no specific response format is needed.
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.
  • status - The status of the delete operation, indicating success or failure.

Dependencies

  • Requires Shopware API credentials for authentication.

Troubleshooting

  • Ensure the provided mail template ID exists; otherwise, the delete operation will fail.
  • Check network connectivity and proxy settings if the request times out or fails to reach the Shopware server.
  • If SSL certificate validation fails and the request is blocked, consider enabling the option to ignore SSL issues, but be aware of security risks.

Discussion