Shopware icon

Shopware

Shopware

Actions778

Document Type → Get Document Type

AI-generated

Overview

This node operation retrieves a specific Document Type by its identifier from the Shopware system. It is useful in scenarios where you need to fetch detailed information about a particular document type, such as invoice, delivery note, or credit memo types, for processing or display in workflows.

Use Case Examples

  1. Fetch a document type by its ID to validate document processing rules.
  2. Retrieve document type details to display in a user interface or report.

Properties

Name Meaning
Id Identifier for the document_type, used to specify which document type to retrieve.
Request Options Settings to control request behavior such as batching, SSL certificate validation, proxy usage, and timeout duration.

Output

JSON

  • id - The unique identifier of the retrieved document type.
  • name - The name of the document type.
  • technicalName - The technical identifier used internally for the document type.
  • createdAt - Timestamp when the document type was created.
  • updatedAt - Timestamp when the document type was last updated.

Dependencies

  • Requires an API key credential for Shopware Admin API authentication.

Troubleshooting

  • Ensure the provided document type ID is valid and exists in the Shopware system to avoid 'not found' errors.
  • Check network connectivity and proxy settings if requests time out or fail to reach the server.
  • If SSL certificate validation fails, consider enabling the 'Ignore SSL Issues' option cautiously.
  • Verify that the API credentials have sufficient permissions to access document type data.

Discussion