Warranty Application Backend API

POST /submit_warranty - Submit warranty application

GET /warranties - View all warranty applications

POST /submit_order - Submit order data

GET /orders - View all orders

POST /submit_aftersales - Submit after-sales request

GET /aftersales - View all after-sales requests

POST /send_order_email - Send order email

POST /send_aftersales_email - Send after-sales email

POST /track_click - Record a button click

GET /click_stats - View click counts by button