Stock Opname / Item Take
Curl
curl -X 'POST' \
'https://openapimcp.matahari.co.id:9001/OpenInventory/CreateItemTake' \
-H 'accept: text/plain' \
-H 'Authorization: Bearer putAccessTokenHere' \
-H 'Content-Type: application/json' \
-d '{
"stores": [ 266,150 ],
"brands": [ 6001,6002 ],
"actionDate": "2024-06-08"
}'

  • stores list store code yang akan melakukan stock opname.
  • brands list brand code yang akan dilakukan stock opname, jika kosong maka semua brand code akan dipilih.
  • actionDate tanggal stock opname.

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.