OrderDesk icon

OrderDesk

Interact with OrderDesk API

Overview

This node integrates with the OrderDesk API to manage inventory items, specifically allowing users to delete an inventory item by its ID. It is useful in scenarios where you need to programmatically remove inventory records from your OrderDesk store, such as cleaning up discontinued products or correcting inventory data.

For example, if you have a workflow that processes product discontinuations, this node can be used to automatically delete the corresponding inventory items from OrderDesk based on their Inventory IDs.

Properties

Name Meaning
Inventory ID The unique identifier of the inventory item to delete. This is a required string input.

Output

The node outputs JSON data representing the response from the OrderDesk API after attempting to delete the specified inventory item. Typically, this will include confirmation of deletion or error details if the operation failed.

No binary data output is produced by this node.

Dependencies

  • Requires an active connection to the OrderDesk API.
  • Needs an API authentication token configured in n8n credentials for OrderDesk.
  • The base URL for API requests is https://app.orderdesk.me.

Troubleshooting

  • Common issues:
    • Providing an invalid or non-existent Inventory ID will result in an error from the API indicating the item could not be found.
    • Missing or incorrect API credentials will cause authentication failures.
  • Error messages:
    • "Unauthorized" or similar indicates missing or invalid API authentication.
    • "Not Found" or "Inventory item does not exist" means the provided Inventory ID is incorrect or the item was already deleted.
  • Resolution:
    • Verify the Inventory ID is correct and exists in your OrderDesk account.
    • Ensure the API key credential is properly set up and has sufficient permissions.

Links and References

Discussion