Shopware icon

Shopware

Shopware

Actions778

Country → Get Country List

AI-generated

Overview

This node operation retrieves a list of countries from the Shopware API. It supports pagination and filtering through query parameters, making it useful for scenarios where you need to fetch country data in a controlled manner, such as populating dropdowns, validating addresses, or integrating country information into workflows.

Use Case Examples

  1. Fetch the first 10 countries to display in a user interface.
  2. Retrieve a specific page of countries when dealing with large datasets.
  3. Use a custom query to filter countries based on specific criteria.

Properties

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

Output

JSON

  • data - Array of country objects returned from the API.
  • meta - Metadata about the response, such as pagination details.

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 country data.
  • Check network connectivity and proxy settings if requests fail or time out.
  • If SSL errors occur, consider enabling the option to ignore SSL issues, but be aware of security risks.
  • Validate the SwagQL query syntax if using the Query property to filter results.

Links

Discussion