Shopware icon

Shopware

Shopware

Actions778

Product Media → Get Product Media List

AI-generated

Overview

This node operation retrieves a list of product media items from the Shopware platform. It is useful for scenarios where you need to fetch media associated with products, such as images or videos, for display, processing, or integration with other systems. For example, an e-commerce manager might use this to get all media files linked to products for updating a catalog or syncing with a content management system.

Use Case Examples

  1. Fetch the first 50 product media items to display on a website.
  2. Retrieve a specific page of product media to process in batches for optimization or backup.

Properties

Name Meaning
Limit Specifies the maximum number of product media resources to return in one page.
Page Specifies which page of the product media list to return, useful for pagination.
Query Allows sending an encoded SwagQL query in JSON format to filter or customize the media list retrieval.
Request Options Additional settings for the request such as batching, SSL certificate validation, proxy configuration, and timeout settings.

Output

JSON

  • mediaList - Array of product media items retrieved from the Shopware API.

Dependencies

  • Requires Shopware API credentials for authentication.

Troubleshooting

  • Ensure the Shopware API credentials are correctly configured and have the necessary permissions to access product media.
  • If the request times out, consider increasing the timeout setting or checking network connectivity.
  • Invalid SwagQL queries in the Query property may cause errors; verify the query syntax and encoding.
  • If SSL certificate validation fails and you trust the source, enable the 'Ignore SSL Issues' option to bypass validation.

Links

Discussion