Decogro icon

Decogro

Decogro integration for n8n

Order → Delete Order

AI-generated

Overview

This node integrates with the Decogro API to manage orders, specifically allowing the deletion of an existing order by its ID. It is useful in scenarios where automated workflows need to remove orders from the Decogro system, such as order cancellations or cleanup tasks.

Use Case Examples

  1. Deleting an order by specifying its Order ID to remove it from the system.
  2. Automating order management by deleting outdated or incorrect orders.

Properties

Name Meaning
Order ID The ID of the order to delete, used to specify which order should be removed from Decogro.

Output

JSON

  • operation - The operation performed, e.g., 'deleteOrder'.
  • data - The response data from the Decogro API after attempting to delete the order.
  • metadata
    • method - HTTP method used for the request, typically 'DELETE' for this operation.
    • endpoint - The API endpoint used for the delete request, e.g., 'order/{orderId}'.
    • timestamp - Timestamp when the operation was performed.

Dependencies

  • Requires an API key credential for Decogro API authentication.

Troubleshooting

  • Ensure the Order ID provided exists in the Decogro system; otherwise, the API may return an error indicating the order was not found.
  • Check that the API key credential is valid and has sufficient permissions to delete orders.
  • If the node throws an error about missing binary data, it is unrelated to this operation and may indicate a misconfiguration in the workflow.
  • Invalid JSON errors do not apply to this operation since no JSON body is sent with the DELETE request.

Links

Discussion