This commit is contained in:
seb
2026-10-10 00:39:23 +02:00
parent 2c36a705c4
commit ff54fe3a18
30 changed files with 2250 additions and 2256 deletions

14
src/api/stock.js Normal file
View File

@@ -0,0 +1,14 @@
import { http } from './http.js';
/**
* Stock operations (manual stock adjustment).
*/
export const stock = {
/**
* POST /api/stock/adjust
* Body: { sku, warehouseId, amount, text?, date?, externalNumber?, lines? }
*/
adjust(body) {
return http('/api/stock/adjust', { method: 'POST', body });
},
};