-
Notifications
You must be signed in to change notification settings - Fork 0
Backend Routes
DannyRH27 edited this page Jun 26, 2020
·
22 revisions
GET /StaticPagesController#root
-
GET /api/users/:id
retrieve specific user information -
POST /api/users
create a new user -
PATCH /api/users/:id
update specific user information
-
GET /api/users/:user_id/:carts/:cart_id
retrieve user's cart -
POST /api/users/:user_id/carts/
create user's cart -
PATCH /api/users/:user_id/carts/:cart_id
update user's cart -
DELETE /api/users/:user_id/carts/:cart_id/
delete user's cart
-
POST /api/session/
create new session -
DELETE /api/session/
destroy session
-
GET /api/stores
return relevant stores -
GET /api/stores/:id
retrieve specific store information -
GET /api/stores/search
retrieve stores by search query strings -
GET /api/stores/filter
retrieve stores by filter parameters
-
GET /api/orders
return current user's orders -
POST /api/orders
create new order -
GET /api/order
return current user's specific order information -
PATCH /api/order/:orderId
update order -
DELETE /api/order:orderId
delete order