pd-android-app/lib/utils/api_urls.dart

54 lines
2.3 KiB
Dart

class ApiUrls {
// static const String baseUrl = 'https://cheminova-api-2.onrender.com/api/';
//============================== Base Url =========================================//
static const String baseUrl = 'https://api.cnapp.co.in';
//============================== Login =========================================//
static const String loginUrl = '/api/v1/user/login/';
static const String forgetPasswordUrl = '/api/v1/user/password/forgot';
static const String changePasswordUrl = '/api/v1/user/password/update';
static const String fcmUrl = '/api/v1/user/fcm-token';
//============================== User Details ==============================//
static const String profileUrl = '/api/v1/user/details';
//============================== Product Details ==============================//
static const String getCategoryUrl = '/api/category/getCategories';
// static const String getProductUrl = '/api/category/getCategories';
static const String getallProductUrl = '/api/product/getAll/user';
//============================== Placed Order Details ==============================//
static const String getPlacedOrderUrl ='/api/get-placed-order-pd';
static const String getSinglePlacedOrderUrl ='/api/get-single-placed-order-pd';
static const String placedOrderUrl ='${baseUrl}/api/order-place';
//============================== Product Manual ==============================//
static const String getProductManualUrl = '/api/productmanual/getall';
//============================== Notification Details ==============================//
static const String getNotificationUrl = '/api/get-notification-pd';
//============================== Kyc Details ==============================//
static const String getKycUrl = '${baseUrl}/api/kyc/getAll';
static const String updateKycUrl = '${baseUrl}/api/kyc/update';
//============================== Rd Order Details ==============================//
static const String getRdOrderUrl = '/api/pd-get-new-orders';
//============================== Rd Processing Details ==============================//
static const String getRdOrderProcessingUrl = '/api/pd-process-order';
//============================== Rd Cancel Details ==============================//
static const String rdCancleOrderUrl = ' api/pd-cancel-order';
}