Shopware icon

Shopware

Shopware

Actions778

Sales Channel → Get Sales Channel List

AI-generated

Overview

This node operation retrieves a list of sales channels from the Shopware platform. It is useful for scenarios where you need to fetch and manage sales channel data, such as displaying available sales channels in a dashboard, syncing sales channel information with other systems, or performing analytics on sales channels.

Use Case Examples

  1. Fetching a paginated list of sales channels with a limit and page number to display in an admin panel.
  2. Querying sales channels with a specific filter using encoded SwagQL to get targeted results.

Properties

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

Output

JSON

  • salesChannels - Array of sales channel objects returned from the Shopware API.

Dependencies

  • Shopware API with an API key credential for authentication

Troubleshooting

  • Ensure the API credentials are correctly configured and have the necessary permissions to access sales channel data.
  • Check the limit and page parameters to avoid requesting out-of-range pages which may result in empty responses.
  • If using a custom query, verify the SwagQL JSON syntax is correct to prevent query errors.
  • If SSL issues occur, consider enabling the option to ignore SSL certificate validation or configure a proper proxy if needed.

Links

Discussion