Shopware icon

Shopware

Shopware

Actions778

Locale → Get Locale List

AI-generated

Overview

This node operation retrieves a list of locales from the Shopware API. It is useful for scenarios where you need to fetch locale information, such as language or regional settings, for use in e-commerce platforms or applications integrating with Shopware. For example, you might use this to display available locales to users or to synchronize locale data with another system.

Use Case Examples

  1. Fetch a paginated list of locales with a limit of 10 per page.
  2. Query locales using a specific SwagQL query to filter results.

Properties

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

Output

JSON

  • locales - Array of locale objects returned from the API, each representing a locale with its details.

Dependencies

  • Requires Shopware API credentials for authentication.

Troubleshooting

  • Common issues include invalid API credentials, resulting in authentication errors.
  • Incorrect query syntax in the SwagQL query may cause the API to return errors or no results.
  • Network issues or proxy misconfiguration can lead to request failures.
  • SSL certificate validation errors if the server's SSL certificate is invalid and 'Ignore SSL Issues' is not enabled.

Discussion