Shopware icon

Shopware

Shopware

Actions778

Order Line Item → Delete Order Line Item

AI-generated

Overview

This node deletes an order line item in the Shopware system. It is useful for scenarios where you need to remove specific items from an order, such as correcting mistakes or updating order contents. For example, if an item was added by error or is no longer available, this node can be used to delete that item from the order.

Use Case Examples

  1. Deleting an order line item by specifying its unique identifier to update an order's contents.
  2. Automating order management workflows by removing items that are out of stock or discontinued.

Properties

Name Meaning
Id Identifier for the order_line_item to be deleted, required to specify which item to remove.
Response Data format for the response, can be used to specify the desired response format or left empty.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration to control the HTTP request behavior.

Output

JSON

  • id - The identifier of the deleted order line item.
  • status - The status of the delete operation, indicating success or failure.
  • message - Additional message or information about the delete operation result.

Dependencies

  • Requires Shopware API credentials for authentication.

Troubleshooting

  • Ensure the 'Id' property is correctly set to a valid order line item identifier; otherwise, the delete operation will fail.
  • Check network connectivity and proxy settings if requests time out or fail to reach the Shopware API.
  • If SSL certificate validation issues occur, consider enabling the 'Ignore SSL Issues' option, but be aware of security risks.
  • Verify that the API credentials have sufficient permissions to delete order line items in Shopware.

Discussion