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 store code yang akan melakukan stock opname.
  • details:
    • supplierBarcode kode barcode item yang akan disesuaikan.
    • qty jumlah penyesuaian item.
    • status tidak mandatory untuk diisi boleh kosong.

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 nomor identik item take.
  • details:
    • barcode kode barcode item.
    • qty jumlah hasil stock opname.