Shopware icon

Shopware

Shopware

Actions778

Document Type → Get Document Type List

AI-generated

Overview

This node operation retrieves a list of document types from the Shopware API. It is useful for scenarios where you need to fetch and process document type data, such as generating reports, syncing document types with other systems, or displaying document types in a user interface.

Use Case Examples

  1. Fetching a paginated list of document types with a limit of 10 per page.
  2. Querying document types with a specific SwagQL query to filter results.

Properties

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

Output

JSON

  • documentTypes - Array of document type objects returned from the API.
  • pagination - Pagination details such as current page, total pages, and total items.

Dependencies

  • Shopware API with valid API credentials

Troubleshooting

  • Ensure the API credentials are correctly configured and have the necessary permissions to access document types.
  • Check network connectivity and proxy settings if requests fail or time out.
  • If SSL certificate validation errors occur, consider enabling the option to ignore SSL issues, but be aware of security risks.
  • Validate the SwagQL query syntax to avoid malformed query errors from the API.

Discussion