Tripletex

Connect to Tripletex API v2

Overview

This node integrates with the Tripletex API v2 to manage orders, including deleting an order by its ID. Specifically, for the "Order" resource and "Delete" operation, it sends a DELETE HTTP request to remove an existing order identified by the provided Order ID.

Common scenarios where this node is beneficial include automating order management workflows such as cleaning up canceled or erroneous orders, synchronizing order data between systems, or implementing custom business logic that requires programmatic deletion of orders in Tripletex.

For example, a user might set up a workflow that deletes orders older than a certain date or removes test orders created during development.

Properties

Name Meaning
Order ID The unique identifier of the order to delete

Output

The node outputs JSON data representing the response from the Tripletex API after attempting to delete the order. Typically, for a successful DELETE operation, the response may be empty or contain confirmation details depending on the API's behavior.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Tripletex API.
  • The node uses the Tripletex API base URL, which switches between a test environment (https://api-test.tripletex.tech) and production (https://api.tripletex.no) based on the configured environment in credentials.
  • Proper configuration of the API authentication token is necessary for successful requests.

Troubleshooting

  • Validation Errors: If the "Order ID" property is missing or empty, the node will throw a validation error indicating that the Order ID is required.
  • Authentication Failures: Errors related to invalid or missing API credentials will prevent the node from connecting to the Tripletex API.
  • Order Not Found: If the specified Order ID does not exist, the API may return a 404 error; ensure the Order ID is correct.
  • Permission Issues: Insufficient permissions associated with the API key can cause authorization errors when attempting to delete orders.
  • Network Issues: Connectivity problems or incorrect environment settings (test vs. production) can lead to request failures.

To resolve these issues:

  • Verify that the Order ID is correctly provided.
  • Check that the API key credential is valid and has appropriate permissions.
  • Confirm the environment setting matches the intended API endpoint.
  • Review API response messages for specific error details.

Links and References

Discussion