apiKey: ********************{
"apiKey": "{{apiKey}}",
"confirm": {
"newDocStatus": "20",
"originalDocStatus": "50",
"staffCode": "HQADMIN"
},
"transHdr": {
"docLockSequence": null,
"docNo": "PO00001",
"docType": "PU",
"jobNum": null,
"ledgerDatetime": null,
"offlineMode": false,
"orgPrefix": "HQ",
"programName": null,
"staffCode": "HQADMIN",
"storeCode": "ZCNRET",
"tillId": "00",
"txAttrib": null,
"txDate": "2024-09-19",
"txSerial": null,
"version": 3,
"vipCode": null,
"voidDocNo": null
}
}curl --location --request POST '/posservice/rest/purchaseorder/statuschange' \
--header 'apiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"apiKey": "{{apiKey}}",
"confirm": {
"newDocStatus": "20",
"originalDocStatus": "50",
"staffCode": "HQADMIN"
},
"transHdr": {
"docLockSequence": null,
"docNo": "PO00001",
"docType": "PU",
"jobNum": null,
"ledgerDatetime": null,
"offlineMode": false,
"orgPrefix": "HQ",
"programName": null,
"staffCode": "HQADMIN",
"storeCode": "ZCNRET",
"tillId": "00",
"txAttrib": null,
"txDate": "2024-09-19",
"txSerial": null,
"version": 3,
"vipCode": null,
"voidDocNo": null
}
}'{
"asynCode": null,
"asynMessage": null,
"asynStatus": 0,
"className": "com.techtrans.api.inventory.pogr.website.POStatusChangeResponse",
"errorCode": 0,
"errorLog": null,
"errorMessage": null
}