Shopware icon

Shopware

Shopware

Actions778

Theme → Get Theme List

AI-generated

Overview

This node operation retrieves a list of themes from the Shopware platform. It is useful for scenarios where you need to fetch and manage theme data, such as displaying available themes in a UI, performing batch operations on themes, or integrating theme information into other workflows.

Use Case Examples

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

Properties

Name Meaning
Limit Max amount of resources (themes) to be returned in a page.
Page The page number of the theme list to be returned.
Query Encoded SwagQL query in JSON format to filter or customize the theme list retrieval.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • themes - Array of theme objects retrieved from the Shopware platform.
  • total - Total number of themes available matching the query.
  • page - Current page number of the returned theme list.
  • limit - Maximum number of themes returned per page.

Dependencies

  • Requires Shopware API credentials for authentication.

Troubleshooting

  • Common issues include invalid API credentials, incorrect query syntax in the SwagQL query, and network-related errors such as timeouts or proxy misconfiguration.
  • Error messages related to SSL certificate validation can be resolved by enabling the 'Ignore SSL Issues' option if appropriate.
  • Ensure the 'Limit' and 'Page' parameters are set correctly to avoid empty or incomplete results.

Discussion