This commit is contained in:
2025-10-10 22:49:05 +07:00
parent 02941e2234
commit 38c16bf0b9
49 changed files with 2702 additions and 740 deletions

View File

@@ -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';