---
search:
  tags:
    - PurchaseOrders
    - POST
seo:
  description: >-
    Admin and branch manager. Raises a purchase order with its line items in
    one… Reference for the POST /api/v1/purchase-orders endpoint in the
    PharmaFlow API.
sidebar:
  label: Create a purchase order
  badge: POST
title: Create a purchase order
type: openapi-operation
---
Admin and branch manager. Raises a purchase order with its line items in one transaction. The supplier and branch must exist and be active, and the order opens as DRAFT and is audited.

`POST /api/v1/purchase-orders`
