Update Purchase Order Status
Request
PUT:/{accountBookId}/purchaseOrder/updateStatus
Request Parameters
Parameter | Description | Type | |
---|---|---|---|
docNo | Document number of record. | string | required |
Request Body
object: Purchase Order Update Status Input Model
Example Request Body
Example: Update purchase order document status to "Open".
The list of document status keys can be found here.
{
"documentStatus": 1
}
Example Request URL:
Parameters:accountBookId
= 1 docNo
= PO-000001 URL:
PUT: https://accounting-api.autocountcloud.com/1/purchaseorder/updatestatus?docNo=PO-000001
Response
Success Response
Status Code: 204
Error Response
Response Body
object: Error Response Model
Example Error Response Body
{
"statusCode": 401,
"message": "401 Unauthorized."
}