Stock Adjustment
Curl
curl -X 'POST' \
'https://openapimcp.matahari.co.id:9001/OpenInventory/CreateStockAdjustment' \
-H 'accept: text/plain' \
-H 'Authorization: bearer putAccessTokenHere' \
-H 'Content-Type: application/json' \
-d '{
"stores": [ 266,150 ],
"details": [
{
"supplierBarcode": "XXXXX00380J.02H-XL",
"qty": 95,
"status": ""
},
{
"supplierBarcode": "XXXXX00380J.02H-XL",
"qty": 13,
"status": ""
}]}'
- stores list of store codes that will conduct stock taking.
-
details:
- supplierBarcode item barcode code that will be adjusted.
- qty item adjustment quantity.
- status not mandatory to fill, can be left blank.
Curl
curl -X 'POST' \
'https://openapimcp.matahari.co.id:9001/OpenInventory/PostItemTakeResultByToken' \
-H 'accept: text/plain' \
-H 'Authorization: Bearer putAccessTokenHere' \
-H 'Content-Type: application/json' \
-d '{
"token": "840612345",
"details": [
{
"barcode": "XXXXXXXXXXXX1.03J-T",
"qty": 10
},
{
"barcode": "XXXXXXXXXXXX2.01A-S",
"qty": 20
},
{
"barcode": "XXXXXXXXXXXX3.04C-M",
"qty": 50
}
]}'
- token item take identification number.
- details:
- barcode item barcode.
- qty quantity resulting from stock taking.