Report Sales
Curl
curl -X 'GET' \
'https://openapimcp.matahari.co.id:9001/OpenReport/Sales?startDate=2024-12-25&endDate=2024-12-30' \
-H 'accept: text/plain' \
-H 'Authorization: Bearer putAccessTokenHere'
- startDate rentang tanggal awal.
- endDate rentang tanggal akhir.
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.