You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to add routes for managing store data in our existing Express API. The store object will have the following properties, and the routes will have specific access permissions as outlined below.
Store Object Properties:
name
Type: String
Description: Name of the store
Example: "The Great Bakery"
description
Type: String
Description: Description of the store
Example: "A cozy bakery specializing in artisan bread and pastries."
Description:
We need to add routes for managing store data in our existing Express API. The store object will have the following properties, and the routes will have specific access permissions as outlined below.
Store Object Properties:
name
description
logo
banner
region_id
status
address
street
city
state
postal_code
location
type
coordinates
contact
phone
email
website
working_hours
monday
tuesday
wednesday
thursday
friday
saturday
sunday
createdBy
API Routes and Access Permissions:
Access Notes:
pending
and the superadmin should change the status toactive
orinactive
.deleted
.suspended
.pending
.active
.inactive
.Tasks:
Checklist:
The text was updated successfully, but these errors were encountered: