Report Inventory
Curl
curl -X 'POST' \
'https://openapimcp.matahari.co.id:9001/OpenReport/StockAdjustment' \
-H 'accept: text/plain' \
-H 'Authorization: bearer putAccessTokenHere' \
-H 'Content-Type: application/json' \
-d '{
"listAdjustmentNumber": [ 453123123,256123123 ],
"createDate": "2024-06-07",
"adjustmentDate": "2024-06-11"
}'

  • listAdjustmentNumber list nomor adjustment indentik.
  • createDate tanggal pembuatan adjustment.
  • adjustmentDate tanggal melakukan adjustment.

Curl
curl -X 'POST' \
'https://openapimcp.matahari.co.id:9001/OpenReport/StockMovement' \
-H 'accept: text/plain' \
-H 'Authorization: bearer putAccessTokenHere' \
-H 'Content-Type: application/json' \
-d '{
"startDate": "2024-06-07",
"endDate": "2024-06-12",
"stores": [ 256,150 ]
}'

  • startDate rentang tanggal awal.
  • endDate rentang tanggal akhir.
  • stores list store code, jika kosong maka semua store code akan dipilih.

Curl
curl -X 'POST' \
'https://openapimcp.matahari.co.id/OpenReport/StockOnHand' \
-H 'accept: text/plain' \
-H 'Authorization: bearer putAccessTokenHere' \
-H 'Content-Type: application/json' \
-d '{
"stores": ["90","150","157","160"],
"brands": ["6001","6002"]
}'

  • stores list store code, jika kosong maka semua store code akan dipilih.
  • brands list brand code, jika kosong maka semua brand code akan dipilih.

Curl
curl -X 'POST' \
'https://openapimcp.matahari.co.id:9001/OpenReport/StockOpname' \
-H 'accept: text/plain' \
-H 'Authorization: bearer putAccessTokenHere' \
-H 'Content-Type: application/json' \
-d '{
"listToken": [ 840112345,840112346 ],
"stoDate": "2024-06-11",
"tokenDate": "2024-06-15"
}'

  • listToken list nomor identik item take.
  • stoDate tanggal melakukan stock opname.
  • tokenDate tanggal pembuatan nomor indentik item take.

Curl
curl -X 'POST' \
'https://openapimcp.matahari.co.id/OpenReport/StockTransfer' \
-H 'accept: text/plain' \
-H 'Authorization: bearer putAccessTokenHere' \
-H 'Content-Type: application/json' \
-d '{
"receivedDate": "2024-06-02",
"startDate": "2024-06-01",
"endDate": "2024-06-07",
"orderType": "STS"
}'

  • receivedDate tanggal penerimaan barang.
  • startDate rentang tanggal awal.
  • endDate rentang tanggal akhir.
  • orderType STS (Store to Store), VTS (Vendor to Store), atau ALL untuk semua jenis delivery order.