apiKey: ********************{
"hdr": {
"txMethod": 16,
"staffCode": "ADMIN",
"docStatus": "10",
"stkImgNo": "PCOHQO221200001",
"invtType": 0,
"stkCntStartTime": "2023-05-01 16:20:00",
"modifyBy": "ADMIN",
"modifyDate": "2023-05-01 16:25:00"
},
"deleteDtl": [],
"modifyDtl": [],
"newDtl": [
{
"txMethod": 16,
"itemOrgID": "000000",
"styleCode": "10001111",
"itemLotNum": "*",
"stkCntTime": "2023-05-01 16:23:00",
"cntQty": 1.0
}
],
"transHdr": {
"txDate": "2023-05-01 16:23:00",
"programName": "BACKEND",
"storeCode": "BJ001",
"tillId": "00",
"docType": "CS",
"staffCode": "ADMIN",
"docNo": "CSOHQO230700006",
"orgPrefix": "HQ"
},
"apiKey": "{{apiKey}}"
}curl --location --request POST '/posservice/rest/stktk/cntupdate' \
--header 'apiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"hdr": {
"txMethod": 16,
"staffCode": "ADMIN",
"docStatus": "10",
"stkImgNo": "PCOHQO221200001",
"invtType": 0,
"stkCntStartTime": "2023-05-01 16:20:00",
"modifyBy": "ADMIN",
"modifyDate": "2023-05-01 16:25:00"
},
"deleteDtl": [],
"modifyDtl": [],
"newDtl": [
{
"txMethod": 16,
"itemOrgID": "000000",
"styleCode": "10001111",
"itemLotNum": "*",
"stkCntTime": "2023-05-01 16:23:00",
"cntQty": 1.0
}
],
"transHdr": {
"txDate": "2023-05-01 16:23:00",
"programName": "BACKEND",
"storeCode": "BJ001",
"tillId": "00",
"docType": "CS",
"staffCode": "ADMIN",
"docNo": "CSOHQO230700006",
"orgPrefix": "HQ"
},
"apiKey": "{{apiKey}}"
}'{
"asynCode": null,
"asynMessage": null,
"asynStatus": 0,
"className": "com.techtrans.api.inventory.stocktake.website.StkCntResponse",
"errorCode": 0,
"errorLog": null,
"errorMessage": null
}