Shops
File Name : shops.js File Path : /server/routes/shops.js This route contains various CRUD operations for the shops. For Example: Create a new shop, Update details of an existing shop, Fetch details of a particular shop, Fetch details of all shops, Fetch details of limited shops based on filters.
Get
GET
/api/shops/:shopId
Path Parameters
Remove All Shops
GET
/api/shops/removeAll
Create
POST
/api/shops/create
Request Body
Get All Shops
POST
/api/shops/getAllShops
Request Body
Get NearBy Shops with search option
POST
/api/shops/getNearbyShopsByFilter
Request Body
Update
PUT
/api/shops/update
Request Body
Delete Shop
PUT
/api/shops/deleteShop
Request Body
Last updated