Tripletex

Connect to Tripletex API v2

Overview

This node integrates with the Tripletex API v2 to manage products, specifically allowing you to update existing product records. It sends an HTTP PUT request to the Tripletex API to modify product details such as name, number (SKU), description, pricing, and currency.

Typical use cases include:

  • Updating product information in your accounting or inventory system when prices change.
  • Correcting or enriching product descriptions or SKUs.
  • Synchronizing product data from other systems into Tripletex.

For example, if a product's unit price changes due to supplier cost updates, this node can be used to update that price automatically in Tripletex.

Properties

Name Meaning
Product ID The unique identifier of the product to update (required).
Product Name The new or updated name of the product (required).
Product Number The SKU or product number (optional).
Description A textual description of the product (optional).
Unit Price The selling price per unit of the product (optional, defaults to 0).
Cost Price The cost price of the product (optional, defaults to 0).
Currency The currency code for prices, e.g., "NOK" (optional, defaults to "NOK").

Output

The node outputs JSON data representing the response from the Tripletex API after updating the product. This typically includes the updated product details as confirmed by the API.

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 production and test environments based on the configured environment setting.
  • Proper network access to https://api.tripletex.no or https://api-test.tripletex.tech is required.

Troubleshooting

  • Validation errors: If the "Product Name" is missing or empty, the node will throw a validation error stating "Product name is required".
  • Authentication failures: Ensure the API key credential is correctly configured and has sufficient permissions.
  • HTTP errors: Errors returned by the Tripletex API (e.g., 404 if the product ID does not exist) will be surfaced in the node output. Verify the product ID is correct.
  • Currency issues: If an unsupported currency code is provided, the API may reject the request.
  • Network issues: Check connectivity to the Tripletex API endpoints.

If the node is set to continue on failure, errors will be included in the output JSON under an error field instead of stopping execution.

Links and References

Discussion