Ktor
K-Mobile Database usingAPI documentation
-
Register Customer (POST -> /register_customer)
- Input
- Customer attributes except id,
- Functionality
- Add Customer to Customer table
- Add Cart to Shopping cart table
- Input
-
Update Customer (POST -> /register_customer)
- Input
- Customer attributes including id
- Functionality
- Add Customer to Customer table
- Add Cart to Shopping cart table
- Input
-
Remove Customer (POST -> /remove_customer)
- Input
- customer_id --> Int,
- Functionality
- Remove Customer from Customer table
- Remove Cart from Shopping cart table
- Input
Admin APIs
-
Show All Customers (GET -> /admin_all_customers)
- Input
- N/A
- Functionality
- Shows list of all customers
- Input
-
Remove Products