Shopware icon

Shopware

Shopware

Actions778

Media Folder → Get Media Folder List

AI-generated

Overview

This node operation retrieves a list of media folders from the Shopware system. It supports pagination and filtering through query parameters, allowing users to specify the maximum number of media folders to return per page, the page number to retrieve, and an encoded SwagQL query for advanced filtering. This operation is useful for scenarios where users need to manage or display media folders in their workflows, such as organizing digital assets or integrating media management with other systems.

Use Case Examples

  1. Retrieve the first 10 media folders to display in a media management dashboard.
  2. Fetch a specific page of media folders with custom filtering using a SwagQL query to find folders matching certain criteria.

Properties

Name Meaning
Limit Max amount of media folders to be returned in a page.
Page The page number of media folders to be returned.
Query Encoded SwagQL query in JSON format for filtering the media folders.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • mediaFolders - Array of media folder objects returned from the Shopware API.

Dependencies

  • An API key credential for Shopware Admin API authentication

Troubleshooting

  • Ensure the API credentials are correctly configured and have the necessary permissions to access media folders.
  • Check the network connection and proxy settings if requests fail or time out.
  • Verify the SwagQL query syntax if using the Query parameter to filter results.
  • If SSL certificate validation fails, consider enabling the option to ignore SSL issues, but be aware of security risks.

Links

Discussion