runable
This commit is contained in:
@@ -75,6 +75,10 @@ class ApiConstants {
|
||||
/// Use: '${ApiConstants.categories}/:id'
|
||||
static String categoryById(String id) => '$categories/$id';
|
||||
|
||||
/// GET - Fetch category with its products
|
||||
/// Use: '${ApiConstants.categories}/:id/products'
|
||||
static String categoryWithProducts(String id) => '$categories/$id/products';
|
||||
|
||||
/// POST - Sync categories (bulk update/create)
|
||||
static const String syncCategories = '$categories/sync';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user