fix
This commit is contained in:
@@ -53,11 +53,18 @@ class ApiEndpoints {
|
||||
|
||||
// ==================== Product Endpoints ====================
|
||||
|
||||
/// Get products for a warehouse
|
||||
/// Get products for import (all products)
|
||||
/// GET: /portalProduct/getAllProduct (requires auth token)
|
||||
/// Response: List of products
|
||||
static const String products = '/portalProduct/getAllProduct';
|
||||
|
||||
/// Get products for export (products in specific warehouse)
|
||||
/// GET: /portalWareHouse/GetAllProductsInWareHouse?warehouseId={id} (requires auth token)
|
||||
/// Query param: warehouseId (int)
|
||||
/// Response: List of products in warehouse
|
||||
static String productsForExport(int warehouseId) =>
|
||||
'/portalWareHouse/GetAllProductsInWareHouse?warehouseId=$warehouseId';
|
||||
|
||||
/// Get product stage in warehouse
|
||||
/// POST: /portalWareHouse/GetProductStageInWareHouse
|
||||
/// Body: { "WareHouseId": int, "ProductId": int }
|
||||
|
||||
Reference in New Issue
Block a user