u
This commit is contained in:
14
src/api/stock.js
Normal file
14
src/api/stock.js
Normal 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 });
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user