Open AamirAlam opened 3 years ago
api endpoints
POST: auth/send_otp
POST: auth/verify_otp
POST: auth/google_login_callback
POST: auth/facebook_login_callback
POST: auth/logout
GET user/account/:user_id
GET user/:user_id/cart/
GET user/:user_id/wishlist
GET user/:user_id/shiping_addresses
POST user/:user_id/set_default_address
POST user/:user_id/add_address
POST: user/:user_id/remove_address
POST: user/:user_id/add_card
POST user/:user_id/remove_card
GET product/product_categories
GET product/products/:category?page=1
GET product/products?q='jeans'&page=1
GET product/products/:product_id
@bhk31 We need to add these endpoints in postman API doc
OneTagShop API
Postman doc
api endpoints
API endpoints
Authentication endpoints
POST: auth/send_otp
POST: auth/verify_otp
POST: auth/google_login_callback
POST: auth/facebook_login_callback
POST: auth/logout
User account endpoints
GET user/account/:user_id
GET user/:user_id/cart/
GET user/:user_id/wishlist
GET user/:user_id/shiping_addresses
POST user/:user_id/set_default_address
POST user/:user_id/add_address
POST: user/:user_id/remove_address
POST: user/:user_id/add_card
POST user/:user_id/remove_card
Product endpoints
GET product/product_categories
GET product/products/:category?page=1
GET product/products?q='jeans'&page=1
GET product/products/:product_id