Open UditDe opened 2 months ago
request to server
{product_id : string, order_id : string}
response from server
{msg : "success"}
{ product_id : string, order_id : string image_link : string, reason : string, method : string, address : { address : string, city : string, state : string, pincode : number, district : string } }
{ product_id : string, order_id : string, image_link : string, reason : string, address : { address : string, city : string, state : string, pincode : number, district : string } }
request from server
{ product_id : string order_id : string }
{ section : "return", return_initiate_date : date, return_pickup_date : date, refund_Initate_date : date / "processing", refund_complete : "completed" / "null", }
{ section : "exchage", exchange_initiate_date : date, exchange_pickup_date : date, newproduct_delivery_inprogress : true/false, newproduct_Intransit : {date, "In progress"/"done"}, newproduct_delivery_status: {date, "delivered / "In progress"} }
First 3 done , 2 left
Initially, we have to create dummy products on the DB (at least 5 to 6)
APIs - 5
api/post/login
request to server
response from server
api/post/return
request to server
response from server
api/post/exchange
response from server
api/get/return/time_line
request from server
response from server
api/get/exchange/time_line
request from server
response from server
log out can be handled from frontend