How do you update a supplierorders lines via the REST API

The reason for this issue is that we do not have the same end points as sales order api.

  1. postLine
  2. putLine
  3. deleteLine

It will be interesting maybe to know why we do not have this currently in Dolibarr for Supplier Orders.

The code to update an order on Supplier Order it just simple fields. However, the lines field is an array that can contain one or more llx_commande_fournisseurdet entities.