Create purchase orders from a sales order via API

API: Purchase Order Version 9.24

You can now create purchase orders from a sales order via the POST api/v2/salesorder/[SOOrderNo]/action/createPurchaseOrders endpoint.

Note that if the body contains “preferSupplierFromSOLine=false”, the default supplier for the item will be set as the supplier for the purchase order.