Full URLs are provided in responses they will be rendered as if service is running on 'http://localhost:8080/'.
Open endpoints require no Authentication.
Closed endpoints require a valid Token to be included in the header of the request. A Token can be acquired from the Register or Login Endpoints above.
Endpoints for viewing products that the Authenticated User has permissions to access.
- Get all products :
GET /api/v1/products/
- Get products by category :
GET /api/v1/products/?category=
Endpoints for viewing carts and manipulating item within the cart that the Authenticated User has permissions to access.
- Get cart items in cart :
GET /api/v1/cart
- Add item to cart :
POST /api/v1/cart/add
- Remove item from cart :
Delete /api/v1/cart/delete