Shopware icon

Shopware

Shopware

Actions778

Mail Template Type → Get Mail Template Type List

AI-generated

Overview

This node operation retrieves a list of mail template types from the Shopware API. It is useful for scenarios where you need to fetch and manage email template types used in the Shopware platform, such as for customizing or automating email communications.

Use Case Examples

  1. Fetching a paginated list of mail template types with a limit on the number of results per page.
  2. Querying mail template types using a custom SwagQL query to filter or sort the results.

Properties

Name Meaning
Limit Maximum number of mail template type resources to be returned in a single page of results.
Page The page number of results to be returned, useful for pagination.
Query Encoded SwagQL query in JSON format to filter or customize the list of mail template types returned.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration to control the API request behavior.

Output

JSON

  • id - Unique identifier of the mail template type.
  • name - Name of the mail template type.
  • description - Description of the mail template type.
  • createdAt - Timestamp when the mail template type was created.
  • updatedAt - Timestamp when the mail template type was last updated.

Dependencies

  • Shopware API with appropriate credentials

Troubleshooting

  • Ensure the API credentials are correctly configured and have the necessary permissions to access mail template types.
  • Check network connectivity and proxy settings if requests fail or time out.
  • If SSL certificate validation errors occur, consider enabling the option to ignore SSL issues, but be aware of security implications.
  • Validate the SwagQL query syntax if using the Query property to filter results, as malformed queries may cause errors.

Discussion