Shopping bag API for e-commerce
Description • How do this API work? • Endpoints • Requests Body • Technologies • Running the project • Author
📝 Description
This is a project developed at Dev Week Ifood developed by Digital Innovation One. A project is building Restful API using spring boot with other technologies
✔️ How do this API work?
This API simulates a shopping bag where a product can be inserted or removed and the total purchase price is calculated
📑 Requests Body
Item Bag
{
"idProduct": 1,
"quantity": 2,
"idBag": 1
}
✨ Endpoints
- POST api/ifood/bag
- GET api/ifood/bag/id
- PATCH api/ifood/bag/close/id