Shopware icon

Shopware

Shopware

Actions778

Order Line Item → Get Order Line Item List

AI-generated

Overview

This node operation retrieves a list of order line items from the Shopware API. It supports pagination and filtering through query parameters, allowing users to specify the maximum number of items per page, the page number, and an encoded SwagQL query for advanced filtering. This operation is useful for scenarios where users need to fetch and process order line item data in bulk, such as generating reports, syncing order details with other systems, or analyzing sales data.

Use Case Examples

  1. Fetch the first 50 order line items to display in a dashboard.
  2. Retrieve order line items from page 2 with a specific filter applied using SwagQL query.

Properties

Name Meaning
Limit Specifies the maximum number of order line items to return in a single page of results.
Page Specifies which page of results to return, enabling pagination through the order line items.
Query An encoded SwagQL query in JSON format used to filter the order line items returned by the API.
Request Options Additional request settings such as batching, SSL certificate validation, proxy configuration, and request timeout.

Output

JSON

  • orderLineItems - Array of order line item objects returned from the API.

Dependencies

  • Requires Shopware API credentials for authentication.

Troubleshooting

  • Ensure the Shopware API credentials are correctly configured and have the necessary permissions to access order line items.
  • If pagination parameters (limit and page) are set incorrectly, the node may return empty results or incomplete data.
  • Malformed or incorrect SwagQL queries in the 'Query' parameter can cause API errors or no results to be returned.
  • Network issues or incorrect proxy settings can cause request failures.
  • SSL certificate validation errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this should be used with caution.

Discussion