{"info":{"_postman_id":"67895d4a-2cf6-4c26-9bf8-0298dda4f026","name":"Labecommerce-BACK","description":"<html><head></head><body><p>Esta API de um projeto Backend. Um e-commerce que fornece vários endpoints.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"21551978","collectionId":"67895d4a-2cf6-4c26-9bf8-0298dda4f026","publishedId":"VUxSs5cx","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-09-03T12:23:01.000Z"},"item":[{"name":"Busca todos Usuários","id":"a935ad69-bed4-4423-9292-0c7fb64f9f36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://labecommerce-raoni.herokuapp.com/users","description":"<p>Este endpoint vai retornar todos os usuários cadastrados.</p>\n","urlObject":{"protocol":"https","path":["users"],"host":["labecommerce-raoni","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a935ad69-bed4-4423-9292-0c7fb64f9f36"},{"name":"Criar novo Usuário","id":"1e2146a4-d94d-4a47-86ba-4711053d70e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Lara\",\n    \"email\": \"lara@lara.com\",\n    \"password\":\"356473\"\n\n}","options":{"raw":{"language":"json"}}},"url":"https://labecommerce-raoni.herokuapp.com/user","description":"<p>Este endpoint permite cadastrar um novo usuário.</p>\n","urlObject":{"protocol":"https","path":["user"],"host":["labecommerce-raoni","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1e2146a4-d94d-4a47-86ba-4711053d70e6"},{"name":"Criar novo Produto","id":"81f656f6-6a8c-4022-aaa4-e067b4203c94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tv Smart\",\n    \"price\": 1000,\n    \"image_url\":\"https://i.picsum.photos/id/0/5616/3744.jpg?hmac=3GAAioiQziMGEtLbfrdbcoenXoWAW-zlyEAMkfEdBzQ\"\n\n}","options":{"raw":{"language":"json"}}},"url":"https://labecommerce-raoni.herokuapp.com/products","urlObject":{"protocol":"https","path":["products"],"host":["labecommerce-raoni","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"81f656f6-6a8c-4022-aaa4-e067b4203c94"},{"name":"Buscar todos os produtos Cadastrados","id":"0f1455fa-a8a1-40b9-afcf-ed43d82b519d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://labecommerce-raoni.herokuapp.com/products","description":"<p>Este endpoint permite buscar todos os produtos cadastrados.</p>\n","urlObject":{"protocol":"https","path":["products"],"host":["labecommerce-raoni","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f1455fa-a8a1-40b9-afcf-ed43d82b519d"},{"name":"Efetuar compra com Usuário","id":"cd444636-b4de-4c2e-9e1a-6a6f471d0586","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"userId\": \"1662072394576\",\n    \"productId\": \"1662150097345\",\n    \"quantity\":2\n\n}","options":{"raw":{"language":"json"}}},"url":"https://labecommerce-raoni.herokuapp.com/purchases","description":"<p>Este endpoint cadastrar um novo produto.</p>\n","urlObject":{"protocol":"https","path":["purchases"],"host":["labecommerce-raoni","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cd444636-b4de-4c2e-9e1a-6a6f471d0586"},{"name":"Buscar compra de um Usuário","id":"a25544bc-6557-47c5-9533-9f041e4044ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://labecommerce-raoni.herokuapp.com/users/:id/purchases","description":"<p>Este endpoint permite buscar todas as compras com descrição de produtos de um usuário.</p>\n","urlObject":{"protocol":"https","path":["users",":id","purchases"],"host":["labecommerce-raoni","herokuapp","com"],"query":[],"variable":[{"type":"any","value":"id","key":"id"}]}},"response":[],"_postman_id":"a25544bc-6557-47c5-9533-9f041e4044ba"}]}