apiKey: ********************{
"hdr": {
"txMethod": 32,
"staffCode": "ADMIN",
"docStatus": "20",
"adjustDate": "2023-01-01 16:00:00",
"adjustStore": "BJ001",
"adjustType": "1",
"ledgerDateTime": "2023-01-01 16:00:00",
"attrib1": "+"
},
"deleteDtl": [],
"modifyDtl": [],
"newDtl": [
{
"txMethod": 16,
"itemOrgID": "000000",
"styleCode": "10001111",
"itemLotNum": "*",
"adjustQty": 180.0
}
],
"transHdr": {
"txDate": "2023-01-01 16:00:00",
"ledgerDatetime": "2023-01-01 16:00:00",
"programName": "BACKEND",
"storeCode": "BJ001",
"tillId": "00",
"docType": "QA",
"staffCode": "ADMIN",
"docNo": "QAIXHO221100027",
"orgPrefix": "HQ",
"version": 1
},
"apiKey": "{{apiKey}}"
}curl --location --request POST '/posservice/rest/qtyadj/update' \
--header 'apiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"hdr": {
"txMethod": 32,
"staffCode": "ADMIN",
"docStatus": "20",
"adjustDate": "2023-01-01 16:00:00",
"adjustStore": "BJ001",
"adjustType": "1",
"ledgerDateTime": "2023-01-01 16:00:00",
"attrib1": "+"
},
"deleteDtl": [],
"modifyDtl": [],
"newDtl": [
{
"txMethod": 16,
"itemOrgID": "000000",
"styleCode": "10001111",
"itemLotNum": "*",
"adjustQty": 180.0
}
],
"transHdr": {
"txDate": "2023-01-01 16:00:00",
"ledgerDatetime": "2023-01-01 16:00:00",
"programName": "BACKEND",
"storeCode": "BJ001",
"tillId": "00",
"docType": "QA",
"staffCode": "ADMIN",
"docNo": "QAIXHO221100027",
"orgPrefix": "HQ",
"version": 1
},
"apiKey": "{{apiKey}}"
}'{
"asynCode": null,
"asynMessage": null,
"asynStatus": 0,
"className": "com.techtrans.api.inventory.adjustment.website.QtyAdjResponse",
"errorCode": 0,
"errorLog": null,
"errorMessage": null
}