Get Return Purchase Orders
GET
https://open-api.zortout.com/v4/ReturnPurchaseOrder/GetReturnPurchaseOrders
Get list of return purchase orders.
Query Parameters
Get Return Purchase Order Detail
GET
https://open-api.zortout.com/v4/ReturnPurchaseOrder/GetReturnPurchaseOrderDetail
Get return purchase order detail.
Query Parameters
Get Movement Return Purchase Order Detail
GET
https://open-api.zortout.com/v4/ReturnPurchaseOrder/GetMovementReturnPurchaseOrderDetail
Get movement list of products according to each return purchase order.
Query Parameters
Get Movement Return Purchase Orders
GET
https://open-api.zortout.com/v4/ReturnPurchaseOrder/GetMovementReturnPurchaseOrders
Get movement list of products for return purchase orders.
Query Parameters
Add Return Purchase Order
POST
https://open-api.zortout.com/v4/ReturnPurchaseOrder/AddReturnPurchaseOrder
Add return purchase order.
Request Body
{
"number": "DN-0001",
"customername": "Customer Name",
"status": "Success",
"amount": 105,
"vatamount": 0,
"returnpurchaseorderdate": "2021-05- 20",
"paymentmethod": "KBANK",
"paymentamount": 80,
"list":[
{
"sku": "P0001",
"name": "Product1",
"number": 5,
"pricepernumber": 20,
"discount": "10%",
"totalprice": 90
},
{
"sku": "P0002",
"name": "Product2",
"number": 3,
"pricepernumber": 10,
"discount": "5",
"totalprice": 15
}
],
"referencenumber": "SO-0001"
}
Update Return Purchase Order Status
POST
https://open-api.zortout.com/v4/ReturnPurchaseOrder/UpdateReturnPurchaseOrderStatus
Update status of return purchase order.
Query Parameters
Update Return Purchase Order Payment
POST
https://open-api.zortout.com/v4/ReturnPurchaseOrder/UpdateReturnPurchaseOrderPayment
Update payment of return purchase order.
Query Parameters
Void Return Purchase Order
POST
https://open-api.zortout.com/v4/ReturnPurchaseOrder/VoidReturnPurchaseOrder
Void return purchase order.
Path Parameters
Void Return Purchase Order Payment
POST
https://open-api.zortout.com/v4/ReturnPurchaseOrder/VoidReturnPurchaseOrderPayment
Delete payment in return purchase order.
Query Parameters
Add Return Purchase Order Tag
POST
https://open-api.zortout.com/v4/ReturnPurchaseOrder/AddReturnPurchaseOrderTag
Add tag to return purchase order.
Query Parameters
Delete Return Purchase Order Tag
POST
https://open-api.zortout.com/v4/ReturnPurchaseOrder/DeleteReturnPurchaseOrderTag
Delete tag of return purchase order.
Query Parameters