Online Orders & Notifications

POST Place Online Order
/api/v1/online/orders

Customer places order for delivery/pickup

GET Get Customer Orders
/api/v1/online/orders
GET Track Order
/api/v1/online/orders/{id}/track
POST Cancel Online Order
/api/v1/online/orders/{id}/cancel
GET Get Order History
/api/v1/online/orders/history
POST Reorder
/api/v1/online/orders/{id}/reorder

GET Get Order Status
/api/v1/online/orders/{id}/status
GET Get Delivery ETA
/api/v1/online/orders/{id}/eta
GET Get Driver Location
/api/v1/online/orders/{id}/driver-location
GET Get Order History
/api/v1/online/orders/{id}/history
PUT Update Delivery Status
/api/v1/online/orders/{id}/delivery-status

GET Get Notifications
/api/v1/notifications
GET Get Unread Count
/api/v1/notifications/unread-count
PUT Mark as Read
/api/v1/notifications/{id}/read
PUT Mark All as Read
/api/v1/notifications/mark-all-read
DELETE Delete Notification
/api/v1/notifications/{id}

GET Get Cart
/api/v1/cart
POST Add to Cart
/api/v1/cart/add
PUT Update Cart Item
/api/v1/cart/items/{id}
DELETE Remove from Cart
/api/v1/cart/items/{id}
DELETE Clear Cart
/api/v1/cart/clear
POST Apply Coupon to Cart
/api/v1/cart/apply-coupon

GET Check Delivery Availability
/api/v1/delivery/check-availability
GET Calculate Delivery Fee
/api/v1/delivery/calculate-fee
GET Get Delivery Time Slots
/api/v1/delivery/time-slots
GET Get Pickup Time Slots
/api/v1/pickup/time-slots