Shopware icon

Shopware

Shopware

Actions778

Document Type → Delete Document Type

AI-generated

Overview

This node operation deletes a specified Document Type in the Shopware system. It is useful for scenarios where you need to programmatically remove document types, such as cleaning up unused or obsolete document types in an automated workflow.

Use Case Examples

  1. Deleting a document type by its identifier to maintain an organized document management system.
  2. Automating the removal of document types as part of a larger data cleanup or migration process.

Properties

Name Meaning
Id Identifier for the document_type to be deleted, required to specify which document type to remove.
Response Data format for the response, allowing customization of the response output format.
Request Options Additional request settings such as batching, SSL certificate validation, proxy configuration, and timeout settings to control the HTTP request behavior.

Output

JSON

  • id - The identifier of the deleted document type.
  • status - Status of the delete operation, indicating success or failure.
  • message - Additional information or message related to the delete operation response.

Dependencies

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

Troubleshooting

  • Ensure the 'Id' property is correctly set to a valid document type identifier; otherwise, the delete operation will fail.
  • If SSL certificate validation issues occur, consider enabling 'Ignore SSL Issues' option, but be aware of security risks.
  • Check proxy settings if the request fails to connect to the Shopware API through a proxy.
  • Timeout errors may occur if the server is slow to respond; increase the timeout setting if needed.

Discussion