Forum Discussion

wannado's avatar
wannado
Member
6 years ago

Import_Item_Sales API

Hello! 

been tasked with rewriting some old code (that used MYOB ODBC direct)  to use the API.

So the code inserts some rows into Import_Item_Sales  table.

 

The old code would have inserted multiple rows to the Import_Item_Sales  table.

      one row for each order item

      one row for discounts 

      one row for freight

  all rows having the same RecordID/CardId

       

How do I insert the same infomation through API?

Which end point do I make a PUT request to?