I need to insert an order using API with a different products prices than what setted on my Infusionsoft “Products List”.
To insert the order I use OrderService.placeOrder API but here is not possible to specify the articles prices so I need a different
I’ve tried the following steps:
- Insert the order with the default articles prices using OrderService.placeOrder
- Update the articles prices using DataService.update with table OrderItem
- Recalculate taxes/commissions using InvoiceService.recalculateTax
In this way the order is placed, the articles are updated with the right prices, the taxes and commissions are recalculated
but in the order detail (https://xxx.infusionsoft.com/Job/manageJob.jsp?view=edit&ID=myOrderId) the ORDER TOTAL is not recalculated
so it is wrong.
Is there a way to do that?