Shopware icon

Shopware

Shopware

Actions778

Rule Condition → Get Rule Condition List

AI-generated

Overview

This node operation retrieves a list of rule conditions from the Shopware API. It is useful for scenarios where you need to fetch and process multiple rule conditions, such as filtering or displaying them in a workflow. For example, you might use this to get all rule conditions that match certain criteria or to paginate through large sets of rule conditions.

Use Case Examples

  1. Fetch the first 50 rule conditions to display in a dashboard.
  2. Retrieve rule conditions on page 2 with a custom query filter to process specific rules.

Properties

Name Meaning
Limit Specifies the maximum number of rule condition resources to return in a single page of results.
Page Specifies which page of results to return, useful for paginating through large sets of rule conditions.
Query An encoded SwagQL query in JSON format to filter or customize the list of rule conditions returned.
Request Options Additional request settings such as batching, SSL certificate validation, proxy configuration, and request timeout.

Output

JSON

  • data - The array of rule condition objects returned from the API.
  • total - The total number of rule conditions available matching the query.
  • page - The current page number of the results returned.
  • limit - The maximum number of rule conditions returned per page.

Dependencies

  • Shopware API with appropriate API key credentials

Troubleshooting

  • Ensure the API credentials are correctly configured and have permission to access rule conditions.
  • Check that the 'limit' and 'page' parameters are set to valid numbers to avoid request errors.
  • If using a custom query, verify the SwagQL JSON syntax is correct to prevent query parsing errors.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option or verify the server's SSL certificate.
  • Network issues or proxy misconfiguration can cause request failures; verify proxy settings if used.

Discussion