Shopware icon

Shopware

Shopware

Actions778

Mail Header Footer → Update Mail Header Footer

AI-generated

Overview

This node operation updates an existing Mail Header Footer entity in the Shopware system. It is useful for scenarios where you need to modify the details of a mail header/footer template, such as changing the name, description, HTML content, or associated sales channels. For example, you might update the header HTML to reflect a new branding style or adjust the footer plain text for compliance reasons.

Use Case Examples

  1. Updating the name and description of a mail header/footer template.
  2. Modifying the HTML content of the mail header to include new promotional banners.
  3. Changing the associated sales channels for a mail header/footer entity.

Properties

Name Meaning
Id Identifier for the mail_header_footer, used to specify which entity to update.
Response Data format for response; can be empty if no specific format is provided.
System Default Boolean flag indicating if the mail header/footer is a system default.
Name Name of the mail header/footer entity.
Description Description of the mail header/footer entity.
Header Html HTML content for the mail header.
Header Plain Plain text content for the mail header.
Footer Html HTML content for the mail footer.
Footer Plain Plain text content for the mail footer.
Created At Timestamp indicating when the mail header/footer was created.
Updated At Timestamp indicating when the mail header/footer was last updated.
Translated JSON object containing translated versions of the mail header/footer content.
Sales Channels JSON array defining the sales channels associated with the mail header/footer.

Output

JSON

  • id - Identifier of the updated mail header/footer entity.
  • name - Name of the updated mail header/footer.
  • description - Description of the updated mail header/footer.
  • headerHtml - HTML content of the updated mail header.
  • headerPlain - Plain text content of the updated mail header.
  • footerHtml - HTML content of the updated mail footer.
  • footerPlain - Plain text content of the updated mail footer.
  • systemDefault - Indicates if the mail header/footer is a system default.
  • createdAt - Creation timestamp of the mail header/footer.
  • updatedAt - Last update timestamp of the mail header/footer.
  • translated - Translated content of the mail header/footer.
  • salesChannels - Sales channels associated with the mail header/footer.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure the 'Id' property is correctly set to the mail header/footer entity you want to update; otherwise, the update will fail.
  • If the API returns authentication errors, verify that the Shopware Admin API credentials are correctly configured and valid.
  • Check that the JSON format for 'Translated' and 'Sales Channels' properties is valid to avoid request errors.
  • Timeout or network issues can occur; adjust the 'Timeout' and 'Proxy' settings in the request options if necessary.

Discussion