Shopware icon

Shopware

Shopware

Actions778

Cms Block → Get Cms Block List

AI-generated

Overview

This node operation retrieves a list of CMS blocks from a Shopware system. It is useful for scenarios where you need to fetch multiple CMS blocks with control over pagination and filtering, such as displaying CMS blocks in a dashboard or processing them in bulk.

Use Case Examples

  1. Fetch the first 10 CMS blocks to display on a website admin panel.
  2. Retrieve CMS blocks on page 2 with a custom query filter to analyze specific content blocks.

Properties

Name Meaning
Limit Maximum number of CMS blocks to return per page.
Page The page number of CMS blocks to retrieve.
Query Encoded SwagQL query in JSON format to filter or customize the CMS blocks retrieval.
Request Options Additional request settings such as batching, SSL certificate validation, proxy configuration, and timeout settings.

Output

JSON

  • cmsBlocks - Array of CMS block objects returned from the Shopware API.

Dependencies

  • Requires Shopware API credentials for authentication.

Troubleshooting

  • Ensure the Shopware API credentials are correctly configured to avoid authentication errors.
  • Check the 'Limit' and 'Page' parameters to avoid empty or incomplete results due to pagination issues.
  • If using a custom query, verify the SwagQL JSON syntax to prevent query errors.
  • If SSL issues occur, consider enabling 'Ignore SSL Issues' option or verify the SSL certificate validity.
  • Proxy settings must be correct if used, otherwise requests may fail or timeout.

Discussion