GENERATE OTP
url - https://techicom.com/partner/dazzling_deals/api/login/generateOtp
parameters - mobile(required)
method - POST

VERIFY OTP
url - https://techicom.com/partner/dazzling_deals/api/login/verifyOtp
parameters - mobile(required),otp(required)

User Login
url - https://techicom.com/partner/dazzling_deals/api/login/UserLogin
parameters - mobile(required)

User Register
url - https://techicom.com/partner/dazzling_deals/api/login/submitRegister
post parameters - fullname(required),email(required),mobile(required),email_otp(required)


GET COUPON CATEGORIES
url - https://techicom.com/partner/dazzling_deals/api/coupon/couponCategories
parameters - api_key(required)

GET COUPONS BY CATEGORY ID
url - https://techicom.com/partner/dazzling_deals/api/coupon/couponsByCategoryId
parameters - api_key(required),category_id(required),coupon_type(optional[free or paid])

REDEEM COUPON
url - https://techicom.com/partner/dazzling_deals/api/coupon/redeemCoupon
parameters - api_key(required),user_id(required),coupon_id(required)

GET LOGGED IN USER INFORMATION
url - https://techicom.com/partner/dazzling_deals/api/common/userInfo
post parameters - user_id(required)

UPDATE USER PROFILE
url - https://techicom.com/partner/dazzling_deals/api/common/updateProfile   
post parameters - required - fullname,emailid,mobile
    optional - address,country(id will store here),state(id will store here),city(id will store here),pincode

GET COUNTRIES
url - https://techicom.com/partner/dazzling_deals/api/common/getCountries 

GET STATES BY COUNTRY ID
url - https://techicom.com/partner/dazzling_deals/api/common/getStatesByCountryId 
get parameters - country_id(required)

GET CITIES BY STATE ID
url - https://techicom.com/partner/dazzling_deals/api/common/getCitiesByStateId 
get parameters - state_id(required)

GET USER TRANSACTION
url - https://techicom.com/partner/dazzling_deals/api/common/transactions
parameters - api_key(required),user_id(required)

GET SUPPORT TICKETS BY USER ID
url - https://techicom.com/partner/dazzling_deals/api/support_ticket/supportTickets
parameters - api_key(required),user_id(required)

ADD SUPPORT TICKET
url - https://techicom.com/partner/dazzling_deals/api/support_ticket/addSupportTicket
parameters - api_key(required),user_id(required),subject(required),category(required),problem(required)

SUPPORT TICKET CHAT
url - https://techicom.com/partner/dazzling_deals/api/support_ticket/supportTicketConversation
parameters - api_key(required),user_id(required),ticket_id(required)

REPLY COVERSATION
url - https://techicom.com/partner/dazzling_deals/api/support_ticket/replyToConversation
parameters - api_key(required),user_id(required),ticket_id(required),message(required)

GET ADVERTISEMENTS
url - https://techicom.com/partner/dazzling_deals/api/common/advertisements
parameters - api_key(required)

**********************10-05-2023*******************************
GET VENDORS
url - https://techicom.com/partner/dazzling_deals/api/vendor/getVendors
method - GET
parameters - api_key(required),user_id(optional, it will give the subscription expiration details)
Note - if hotel_plan_status is 1 , then display block icon , if is_subscription_expired is expired , then display lock icon

GET COUPONS BY VENDOR ID AND CATEGORY ID
url - https://techicom.com/partner/dazzling_deals/api/coupon/couponsByVendorId
method - GET
parameters - api_key(required),vendor_id(required),user_id(optional, it will give the redeem count),category_id(optional)



GET COUPON CATEGORY DETAIL BY ID
url - https://techicom.com/partner/dazzling_deals/api/coupon/couponCategoryDetailById
method - GET
parameters - api_key(required),category_id(required)

GET PLAN DETAIL BY ID
url - https://techicom.com/partner/dazzling_deals/api/common/subscriptionPlanDetailById
method - GET
parameters - api_key(required),plan_id(required),

GET FREE COUPONS
url - https://techicom.com/partner/dazzling_deals/api/coupon/getFreeCoupons
method - GET
parameters - api_key(required),user_id(optional, it will give the redeem count)

******************SUBSCRIPTION************************

USER SUBSCRIPTION FOR VENDOR
url - https://techicom.com/partner/dazzling_deals/api/vendor/getVendorSubscription
method - GET
parameters - api_key(required),mobile(required),plan_id(required),vendor_id(required),fullname(required),use_loyality_point(Yes or No)
if use_loyality_point is Yes then loyality_point(required)

GET ACTIVE USER SUBSCRIPTION DETAILS    PENDING
url - https://techicom.com/partner/dazzling_deals/api/vendor/getActiveUserSubscriptions
method - GET
parameters - api_key(required),mobile(required),plan_id(required),vendor_id(required),fullname(required),use_loyality_point(Yes or No)
if use_loyality_point is Yes then loyality_point(required)


GET USER NOTIFICATIONS
url - https://techicom.com/partner/dazzling_deals/api/common/userNotifications
post parameters - api_key(required)

GET TODAY SPECIAL COUPONS
url - https://techicom.com/partner/dazzling_deals/api/coupon/getTodaySpecialCoupons
post parameters - api_key(required),user_id(optional, it will give the redeem count)

GET BESTSELLER COUPONS
url - https://techicom.com/partner/dazzling_deals/api/coupon/getBestSellerCoupons
post parameters - api_key(required),user_id(optional, it will give the redeem count)

GET USER'S ACTIVE SUBSCRIPTIONS 
url - https://techicom.com/partner/dazzling_deals/api/common/getUserActiveSubscriptions
post parameters - api_key(required),user_id(required)

GET USER'S TRANSACTIONS
url - https://techicom.com/partner/dazzling_deals/api/common/getUserTransactions
post parameters - api_key(required),user_id(required)

Subscription Plans by vendor ID
url - https://techicom.com/partner/dazzling_deals/api/subscription/subscriptionPlansByVendorId
post parameters - api_key(required),vendor_id(required)

Subscribe for vendor
url - https://techicom.com/partner/dazzling_deals/api/subscription/addVendorSubscription
post parameters - api_key(required),user_id(required),use_loyality_point(Yes or No required),if use_loyality_point is Yes then loyality_point(required)
Note - the subscription and payment entry will be create using this API so make sure that call this API after payment is done from mobile app


//GET ALL PLANS
// FETCH USER NAME BY MOBILE NUMBER
// get user's available loyality points
//get plans by vendor id
NOTE - please replace all API URL https://techicom.com/partner/ to https://techicom.com/partner/

GET APP INFO 
url - https://techicom.com/partner/dazzling_deals/api/common/appInfo
post parameters - api_key(required)

REGISTRATION FORM EMAIL AUTHENTICATION
Send Otp to mail Id
url - https://techicom.com/partner/dazzling_deals/api/login/sendOtpToMailId
post parameters - api_key(required),email(required),mobile(required),

checkEmailOtp
url - https://techicom.com/partner/dazzling_deals/api/login/checkEmailOtp
post parameters - api_key(required),email_otp(required),mobile(required),

//change in submitRegister API
User Register
url - https://techicom.com/partner/dazzling_deals/api/login/submitRegister
post parameters - fullname(required),email(required),mobile(required),email_otp(required)