How do I connect Tehden's delivery methods to AI Commerce ?
Instructions for connecting Tehden's delivery methods to AI Commerce e-commerce delivery methods smoothly and without errors.
In this article, you will learn step by step how to connect the delivery methods of the Tehden ERP system to the delivery methods of AI Commerce online store. Did you get an error for an order that the saleDeliveryMethodId is incorrect or do you always have to select a different delivery method for orders in Tehden? Setting the correct saleDeliveryMethodId ensures that orders are transferred correctly to Tehden without error messages. The process is quick when you know where to find the ID and how to copy it correctly.
Always remember to update the online store with changes to delivery methods. Without this information, the online store does not know which delivery method is which in Tehden, so as delivery methods change, the combination must be updated manually.
Step-by-step instructions
Log in
Log in to the AI Commerce dashboard and go to Modules > Shipping .
Choose delivery method
Select the desired delivery method from the list and click Edit .
Find the API ID field
Scroll down the page until you find the API ID section. This is the field where you will copy the Tehden saleDeliveryMethodId value.
Search for ID in Tehden
Open the Tehden interface in a browser (e.g. Firefox) to get a list of all Tehden delivery methods in JSON format. The interface URL is, for example:
The JSON listing that opens in the browser contains the data in numbered format, such as 0-1, 2-3 , etc.
Identify the correct saleDeliveryMethodId
Find the delivery method in the list that you want to associate with your AI Commerce online store delivery method. Capture the saleDeliveryMethodId for that row.
Example of a JSON list structure where the saleDeliveryMethodId (i.e. API ID) is 9932ffd4-a922-11ec-8828-fa163ec26693 for the delivery method “ DB Schenker - Home Package Accessory ”:

Copy the ID exactly
Make sure that the saleDeliveryMethodId is copied without apostrophes, spaces, or other characters. Any errors or extra spaces will prevent orders from being transferred to Tehden.
Connect ID AI Commerce en
Paste the copied saleDeliveryMethodId directly into the API-ID field in AI Commerce (under “Modules > Shipping > Edit > API-ID”).
Save changes
Click Save or a similar save button. After the changes, AI Commerce will send the order information to Tehden using the delivery method ID you set.
Additional tips
- Use the Firefox browser : Firefox can display JSON data neatly lined up, making it easier to find the correct saleDeliveryMethodId value.
- Check for errors : If you are having problems transferring orders, first make sure that the saleDeliveryMethodId is copied 100% correctly in the API ID field.
Is my problem something else?
If combining the correct delivery methods does not help or your problem is related to Tehden's delivery method processing, please contact Tehden's customer service. AI Commerce 's support only covers the processing of interface messages sent to Tehden.
Summary
To connect Tehden's delivery methods to your AI Commerce online store, select the correct saleDeliveryMethodId and add it accurately to AI Commerce 's API-ID field. This ensures that the delivery information for your online store orders is updated correctly in Tehden.