For: Customers · Partners · Integrators
Frequently asked business and technical questions about HOMAG Connect orderManager.
General
What is orderManager?\ orderManager is the central application for managing, releasing, and distributing orders. It sits between order entry and downstream systems such as an ERP system or productionManager. Only released orders are forwarded to production. See Overview.
Is orderManager a REST API or an app?\ Both. orderManager is an app for order-processing staff, and HOMAG Connect orderManager is its REST API for system-to-system integration. This documentation covers the REST API.
Do I need a special license?\
Yes. Your orderManager app license requires the HOMAG Connect orderManager add-on. Create the authorization key within this add-on in my.tapio. Calls without the add-on return 401 Unauthorized. See Authentication.
Is there a client library?\ Yes. The .NET client is available as the NuGet package HomagGroup.HomagConnect.OrderManager.Client. Source code and examples are available on GitHub and can serve as a starting point for other programming languages.
Importing Orders
Which format should I use to import an order?\
The standard format is OrderDetails as JSON, sent to POST /api/orderManager/orders/import. If the order references files that cannot be accessed through a URI, such as images, send the order data and files together in a multipart/form-data request: the order JSON in a part named order and each file in its own part. Importing a project archive (ZIP with project.xml) is also supported but is not the standard method. See Use Case: Import Orders.
Can I set the order number, customer number, or order status myself?\
No. orderManager assigns orderNumber and customerNumber and sets the order status itself. Pass your system's numbers as orderNumberExternal and customerNumberExternal. If an import contains an orderNumber, orderManager stores it as orderNumberExternal.
The import request succeeded, but no order was created. Why?\
The import runs asynchronously. Check the import status using the correlationId: if it is Error, errorDetails explains why the import failed.
Does the customer need to exist before I import an order?\
Yes. Create the customer first and reference them in the order using the customerNumber assigned by orderManager. Currently, an import still automatically creates a missing customer, but this behavior will be removed in a future version. Customers can be created manually in the app, through registration in the sales portal, or through HOMAG Connect orderManager. See Use Case: Manage Customers.
Releasing and Changing Orders
How do I update a complete order, including its positions?\
Import the order again using the same externalSystemId. orderManager recognizes the repeated import and overwrites the existing order instead of creating a second one. This is only possible while the order is in the New state. See Use Case: Import Orders.
What happens when I release an order?\
The order status changes to ReadyForProduction, and orderManager forwards the order through its distribution channels to downstream systems such as productionManager or an ERP system.
How do I correct an order that has already been released?\
Reset the release using PATCH /api/orderManager/orders/{orderId}/resetRelease, as long as production has not started. Then import the corrected order again using the same externalSystemId. If the order is InProgress, it can no longer be changed, and resetting the release returns 422 Unprocessable Entity.
How do I delete orders?\
Use DELETE /api/orderManager/orders with one or more orderId or orderNumber query parameters. The call returns 204 No Content on success.
Synchronizing Orders
How do I report order status back to our ERP system?\
Read changed orders regularly using GET /api/orderManager/orders?changedSince=..., look them up in the ERP system using orderNumberExternal, and transfer state and the planned dates. See Use Case: Synchronize Orders with the ERP System.
Which order statuses are available?\
New, NewInCalculation, ReadyForProduction, InProgress, and Completed. See Best Practices.
Can I combine changedSince and releasedSince?\
No. Each filter can be combined with orderStatus, but not with the other filter or with orderNumber.
Prices and Sales Data
How do I calculate a price for an order?\
Send the order data together with the libraryId to POST /api/price/calculate. The response contains the order data with calculated prices, the library used, and any errors or warnings. See Use Case: Calculate Prices.
What is the difference between the Sales and Point-of-Sale routes?\
The Sales routes under /api/orderManager/sales create, read, update, and delete sales items and read sales master data. The Point-of-Sale routes under /api/pos/libraries/{libraryId} read a library's items, master data, and calc.js script for display and calculation in a sales application. See Use Case: Manage Sales Items.
Configuration Data
Does writing to a custom table update only the submitted rows?\
No. It replaces the complete table contents. Rows not included in the request are deleted. Read the table first, change it, and send all rows back together with the content eTag. See Use Case: Manage Configuration Data.
The custom table update returned 200 OK, but nothing changed. Why?\
Check succeeded in the response. If the value is false, message and invalidRows explain which rows and cells were rejected.
Partner Integrations
We offer an integration to many customers. Do we need separate credentials for each customer?\ You use a partner ID, and each customer creates an authorization key for your add-on. See Authentication.
Didn't find your question? For endpoint-level documentation, see Endpoints → HOMAG Connect orderManager in this knowledge base.
