load products
This commit is contained in:
@@ -368,6 +368,25 @@ class ApiConstants {
|
||||
/// Frappe public API user ID
|
||||
static const String frappePublicUserId = 'public_api@dbiz.com';
|
||||
|
||||
// ============================================================================
|
||||
// Product/Item Endpoints (Frappe ERPNext)
|
||||
// ============================================================================
|
||||
|
||||
/// Get product/item list (requires sid and csrf_token)
|
||||
/// POST /api/method/building_material.building_material.api.item.get_list
|
||||
/// Body: { "limit_start": 0, "limit_page_length": 0 }
|
||||
static const String frappeGetItems = '/building_material.building_material.api.item.get_list';
|
||||
|
||||
/// Get product/item detail (requires sid and csrf_token)
|
||||
/// POST /api/method/building_material.building_material.api.item.get_detail
|
||||
/// Body: { "name": "item_code" }
|
||||
static const String frappeGetItemDetail = '/building_material.building_material.api.item.get_detail';
|
||||
|
||||
/// Get item attributes list (requires sid and csrf_token)
|
||||
/// POST /api/method/building_material.building_material.api.item_attribute.get_list
|
||||
/// Body: { "filters": {"is_group": 0}, "limit_page_length": 0 }
|
||||
static const String frappeGetItemAttributes = '/building_material.building_material.api.item_attribute.get_list';
|
||||
|
||||
// ============================================================================
|
||||
// Notification Endpoints
|
||||
// ============================================================================
|
||||
|
||||
Reference in New Issue
Block a user