---
title: "Create purchase orders from a sales order via API"
description: "You can now create purchase orders from a sales order via the POST api/v2/salesorder/[SOOrderNo]/action/createPurchaseOrders endpoint."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/release-notes/2022-11-29-create-purchase-orders-from-a-sales-order-via-api/index.md
lastmod: 2022-11-29
---

> Documentation index: https://docs.vismasoftware.no/visma-net-erp/llms.txt


# Create purchase orders from a sales order via API

Last modified November 29, 2022

2022-11-29


Label: 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.



---

[View this page](https://docs.vismasoftware.no/visma-net-erp/release-notes/2022-11-29-create-purchase-orders-from-a-sales-order-via-api/)
