We are in the process of setting up a connection between Microsoft Business Central and our logistical partner that usage ShipHero.
In this case the sales orders are created in Business Central and we send the sales orders to Shiphero. This work without any issue. Although in some cases the sales orders are being updated in Business Central and those changes need to be updated in Shiphero as well.
We run into the issue here that updating the sales order lines isn’t allowed via the GraphAPI. What would be the correct way to update the sales order lines?
Would you mind sharing the request_id or returned in the update mutations you’re running, so I could take a look?
If you’re only able to provide the mutation, that works too!
Please let me know if you have any questions or concerns.
Thanks for the reply, I asked our developer to provide the requested information:
With request 652400cdb71c743d80cd7cbe the update function is working because we diddn’t specify the “line_items” object. If we specify this object to update the line. The call fails because we cannot use the line_items: {} object.
I also noticed that in the above request the line_item data is sent three times for the same SKU with no changes. There only needs to be one entry per line_item.
Please let me know if you have any questions or concerns!