Shopware icon

Shopware

Shopware

Actions778

Mail Template → Get Mail Template List

AI-generated

Overview

This node operation retrieves a list of mail templates from the Shopware system. It is useful for scenarios where you need to fetch and display or process multiple mail templates, such as in email marketing automation, template management, or integration workflows that require access to mail template data.

Use Case Examples

  1. Fetching a paginated list of mail templates to display in a dashboard.
  2. Retrieving mail templates based on a specific query filter for further processing or analysis.

Properties

Name Meaning
Limit Specifies the maximum number of mail templates to return in a single page of results.
Page Specifies which page of results to return, useful for paginated data retrieval.
Query An encoded SwagQL query in JSON format to filter or customize the mail template list retrieval.
Request Options Additional request settings such as batching, SSL certificate validation, proxy configuration, and timeout settings to control the API request behavior.

Output

JSON

  • data - The list of mail templates returned from the API.
  • total - The total number of mail templates available matching the query.
  • page - The current page number of the results returned.
  • limit - The maximum number of mail templates returned per page.

Dependencies

  • Requires Shopware API credentials for authentication.

Troubleshooting

  • Ensure the API credentials are correctly configured and have the necessary permissions to access mail templates.
  • Check the query syntax in the 'Query' property to avoid malformed SwagQL JSON errors.
  • If the request times out, consider increasing the 'Timeout' setting or checking network connectivity.
  • If SSL certificate validation fails and you trust the endpoint, enable 'Ignore SSL Issues' to bypass certificate errors.

Discussion