Skip to main content
POST
Create Purchase Order

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-Org-Id
string | null

Body

application/json
poType
string
required
orderType
string | null
default:bulk
workOrderId
string | null
workOrderDocumentId
string | null
supplierId
string | null
supplierRefPo
string | null
materialRequestId
string | null
productionOrderId
string | null
salesOrderId
string | null
orderDate
string | null
expectedDeliveryDate
string | null
currency
string | null
subtotal
number | null
taxRate
number | null
taxAmount
number | null
total
number | null
purpose
string | null
expenseCategory
string | null
frequency
string | null
managementAccountId
string | null
status
string | null
notes
string | null
lineItems
Lineitems · object[] | null

Response

Successful Response

id
string
required
poType
string
required
documentId
string | null
orderType
string | null
workOrderId
string | null
workOrderDocumentId
string | null
supplierId
string | null
supplierVendor
string | null
supplierRefPo
string | null
materialRequestId
string | null
mrIds
string | null
mrDocumentId
string | null
productionOrderId
string | null
salesOrderId
string | null
orderDate
string | null
expectedDeliveryDate
string | null
currency
string | null
subtotal
number | null
taxRate
number | null
taxAmount
number | null
total
number | null
purpose
string | null
expenseCategory
string | null
category
string | null
frequency
string | null
managementAccountId
string | null
status
string | null
notes
string | null
createdAt
string | null
itemsCount
integer | null
dueDate
string | null
lineItems
PurchaseOrderLineItem · object[] | null