Get Purchase Orders
GET
https://open-api.zortout.com/v4/PurchaseOrder/GetPurchaseOrders
Get list of purchase orders.
Query Parameters
Get Purchase Order Detail
GET
https://open-api.zortout.com/v4/PurchaseOrder/GetPurchaseOrderDetail
Get purchase order detail.
Query Parameters
Get Movement Purchase Order Detail
GET
https://open-api.zortout.com/v4/PurchaseOrder/GetMovementPurchaseOrderDetail
Get movement list of products according to each purchase order.
Query Parameters
Get Movement Purchase Orders
GET
https://open-api.zortout.com/v4/PurchaseOrder/GetMovementPurchaseOrders
Get movement list of products for purchase orders.
Query Parameters
Get Expense Purchase Order Detail
GET
https://open-api.zortout.com/v4/PurchaseOrder/GetExpensePurchaseOrderDetail
Get list of expenses of purchase order.
Query Parameters
Add Purchase Order
POST
https://open-api.zortout.com/v4/PurchaseOrder/AddPurchaseOrder
Add purchase order.
Query Parameters
Request Body
{
"number": "PO-0001",
"purchaseorderdate": "2021-05-31",
"amount": 58,
"vatamount": 0,
"paymentmethod": "Cash",
"paymentamount": 50.0,
"list": [
{
"sku": "P0001",
"name": "Product1",
"number": 24,
"pricepernumber": 2,
"discount": "0",
"totalprice": 48
},
{
"sku": "P0002",
"name": "Product2",
"number": 1,
"pricepernumber": 10,
"discount": "0",
"totalprice": 10
}
]
}
Update Purchase Order Status
POST
https://open-api.zortout.com/v4/PurchaseOrder/UpdatePurchaseOrderStatus
Update status of purchase order.
Query Parameters
Update Purchase Order Payment
POST
https://open-api.zortout.com/v4/PurchaseOrder/UpdatePurchaseOrderPayment
Update payment of purchase order.
Query Parameters
Update Partial Purchase Order
POST
https://open-api.zortout.com/v4/PurchaseOrder/UpdatePartialPurchaseOrder
Update partial product of purchase order.
Query Parameters
Request Body
[
{
"sku": "P0001",
"number": 24
},
{
"productid": 1234,
"number": 25
}
]
Edit Purchase Order Info
POST
https://open-api.zortout.com/v4/PurchaseOrder/EditPurchaseOrderInfo
Edit purchase order info.
Query Parameters
Request Body
{
"number": "PO-0001",
"purchaseorderdate": "2021-05-31"
}
Edit Purchase Order
POST
https://open-api.zortout.com/v4/PurchaseOrder/EditPurchaseOrder
Edit purchase order.
Query Parameters
Request Body
{
"number": "PO-0001",
"purchaseorderdate": "2021-05-31",
"amount": 58,
"vatamount": 0,
"list": [
{
"sku": "P0001",
"name": "Product1",
"number": 24,
"pricepernumber": 2,
"discount": "0",
"totalprice": 48
},
{
"sku": "P0002",
"name": "Product2",
"number": 1,
"pricepernumber": 10,
"discount": "0",
"totalprice": 10
}
]
}
Void Purchase Order
POST
https://open-api.zortout.com/v4/PurchaseOrder/VoidPurchaseOrder
Void purchase order.
Query Parameters
Void Purchase Order Payment
POST
https://open-api.zortout.com/v4/PurchaseOrder/VoidPurchaseOrderPayment
Delete payment in purchase order.
Query Parameters
Update Purchase Order Serial No
POST
https://open-api.zortout.com/v4/PurchaseOrder/UpdatePurchaseOrderSerialNo
Update serial number of purchase order.
Query Parameters
Update Purchase Order Expiry/Lot
POST
https://open-api.zortout.com/v4/PurchaseOrder/UpdatePurchaseOrderExpiryLot
Update expiry/lot of purchase order.
Query Parameters
Add Expense Purchase Order
POST
https://open-api.zortout.com/v4/PurchaseOrder/AddExpensePurchaseOrder
Add expense to purchase order.
Query Parameters
Request Body
Add Purchase Order Tag
POST
https://open-api.zortout.com/v4/PurchaseOrder/AddPurchaseOrderTag
Add tag to purchase order.
Query Parameters
Delete Purchase Order Tag
POST
https://open-api.zortout.com/v4/PurchaseOrder/DeletePurchaseOrderTag
Delete tag of purchase order.
Query Parameters