{"info":{"_postman_id":"d5856e82-6462-42c6-912d-77aaf50aa2b2","name":"Cafe-notes-API Backup","description":"<html><head></head><body><p>API cofe-notes</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"24261998","collectionId":"d5856e82-6462-42c6-912d-77aaf50aa2b2","publishedId":"2s8YYFr3fj","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-11-06T02:33:21.000Z"},"item":[{"name":"auth","item":[{"name":"Register","id":"3b3e4592-a1db-457b-82c3-55297bbfd66a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Nama User","type":"text"},{"key":"email","value":"user123@gmail.com","type":"text"},{"key":"password","value":"iniPassword","type":"text"},{"key":"role","value":"Admin","description":"<p>Cuma ada User dan Admin</p>\n","type":"text"}]},"url":"https://cafe-notes-api.herokuapp.com/api/register","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"670c3002-0d9a-401a-a841-b6e2c65ea667","id":"670c3002-0d9a-401a-a841-b6e2c65ea667","name":"auth","type":"folder"}},"urlObject":{"protocol":"https","path":["api","register"],"host":["cafe-notes-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"8bdd9563-e3e8-4254-b358-3475269c3d0e","name":"Register","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Nama User","type":"text"},{"key":"email","value":"user123@gmail.com","type":"text"},{"key":"password","value":"iniPassword","type":"text"},{"key":"role","value":"Admin","description":"Cuma ada User dan Admin","type":"text"}]},"url":"https://cafe-notes-api.herokuapp.com/api/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sat, 05 Nov 2022 16:14:23 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"User created successfully\",\n    \"user\": {\n        \"name\": \"Nama User\",\n        \"email\": \"user123@gmail.com\",\n        \"role\": \"Admin\",\n        \"updated_at\": \"2022-11-05T16:14:23.000000Z\",\n        \"created_at\": \"2022-11-05T16:14:23.000000Z\",\n        \"id\": 5\n    },\n    \"authorisation\": {\n        \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL3JlZ2lzdGVyIiwiaWF0IjoxNjY3NjY0ODYzLCJleHAiOjE2Njc2Njg0NjMsIm5iZiI6MTY2NzY2NDg2MywianRpIjoidHNpTURNdFhxWlptb05KYSIsInN1YiI6NSwicHJ2IjoiMjNiZDVjODk0OWY2MDBhZGIzOWU3MDFjNDAwODcyZGI3YTU5NzZmNyJ9.g9lqXv8KaxoFS6zyxQVSfgHyZ1w9XbSZkF3gMBA4YsM\",\n        \"type\": \"bearer\"\n    }\n}"}],"_postman_id":"3b3e4592-a1db-457b-82c3-55297bbfd66a"},{"name":"Login","id":"906b9d15-5111-47b9-88cc-8fe107a946ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"admin123@gmail.com","type":"text"},{"key":"password","value":"admin123","type":"text"}]},"url":"https://cafe-notes-api.herokuapp.com/api/logins","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"670c3002-0d9a-401a-a841-b6e2c65ea667","id":"670c3002-0d9a-401a-a841-b6e2c65ea667","name":"auth","type":"folder"}},"urlObject":{"protocol":"https","path":["api","logins"],"host":["cafe-notes-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"ce56225d-4b91-468e-9e72-700d660db4de","name":"Login","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"user123@gmail.com","type":"text"},{"key":"password","value":"iniPassword","type":"text"}]},"url":"https://cafe-notes-api.herokuapp.com/api/logins"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sat, 05 Nov 2022 16:15:34 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"user\": {\n        \"id\": 5,\n        \"name\": \"Nama User\",\n        \"role\": \"Admin\",\n        \"email\": \"user123@gmail.com\",\n        \"email_verified_at\": null,\n        \"created_at\": \"2022-11-05T16:14:23.000000Z\",\n        \"updated_at\": \"2022-11-05T16:14:23.000000Z\"\n    },\n    \"authorisation\": {\n        \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2NzY2NDkzNCwiZXhwIjoxNjY3NjY4NTM0LCJuYmYiOjE2Njc2NjQ5MzQsImp0aSI6IjFZaE41RGU5aHp4RTdxenkiLCJzdWIiOjUsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.3K617NEKzoaGapuap8Qux3_ad912bvaRON69Xzoouvw\",\n        \"type\": \"bearer\"\n    }\n}"}],"_postman_id":"906b9d15-5111-47b9-88cc-8fe107a946ac"},{"name":"Logout","id":"989933f0-aed5-4727-a4d8-841b1dfd5567","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://cafe-notes-api.herokuapp.com/api/?logout=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"670c3002-0d9a-401a-a841-b6e2c65ea667","id":"670c3002-0d9a-401a-a841-b6e2c65ea667","name":"auth","type":"folder"}},"urlObject":{"protocol":"https","path":["api",""],"host":["cafe-notes-api","herokuapp","com"],"query":[{"description":{"content":"<p>Masukan token yang ingin dihancurkan</p>\n","type":"text/plain"},"key":"logout","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8"}],"variable":[]}},"response":[{"id":"550c8cee-e0fa-4c2d-a48d-bc2f3b95705f","name":"Logout","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://cafe-notes-api.herokuapp.com/api/logout?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2NzY2NDkzNCwiZXhwIjoxNjY3NjY4NTM0LCJuYmYiOjE2Njc2NjQ5MzQsImp0aSI6IjFZaE41RGU5aHp4RTdxenkiLCJzdWIiOjUsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.3K617NEKzoaGapuap8Qux3_ad912bvaRON69Xzoouvw","protocol":"https","host":["cafe-notes-api","herokuapp","com"],"path":["api","logout"],"query":[{"key":"token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2NzY2NDkzNCwiZXhwIjoxNjY3NjY4NTM0LCJuYmYiOjE2Njc2NjQ5MzQsImp0aSI6IjFZaE41RGU5aHp4RTdxenkiLCJzdWIiOjUsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.3K617NEKzoaGapuap8Qux3_ad912bvaRON69Xzoouvw","description":"Ganti value token dengan bearer token yang ingin dihancurkan (logout)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sat, 05 Nov 2022 16:16:38 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Successfully logged out\"\n}"}],"_postman_id":"989933f0-aed5-4727-a4d8-841b1dfd5567"},{"name":"Refresh","id":"f6adbbb6-b836-4987-9e8c-3823923f95eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"https://cafe-notes-api.herokuapp.com/api/refresh?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"670c3002-0d9a-401a-a841-b6e2c65ea667","id":"670c3002-0d9a-401a-a841-b6e2c65ea667","name":"auth","type":"folder"}},"urlObject":{"protocol":"https","path":["api","refresh"],"host":["cafe-notes-api","herokuapp","com"],"query":[{"description":{"content":"<p>Masukan token yang ingin direfresh</p>\n","type":"text/plain"},"key":"token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8"}],"variable":[]}},"response":[{"id":"75f007e4-eed4-4bc2-bf0e-569aa8b21d4c","name":"Refresh","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://cafe-notes-api.herokuapp.com/api/refresh?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2NzY2NTE5NywiZXhwIjoxNjY3NjY4Nzk3LCJuYmYiOjE2Njc2NjUxOTcsImp0aSI6Im9YeGdadzNkSDVBaUJFTzYiLCJzdWIiOjUsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.rErUN8XvBG-1VeeBxQAJsRkEKk0j7lLIOSWQX9K2A98","protocol":"https","host":["cafe-notes-api","herokuapp","com"],"path":["api","refresh"],"query":[{"key":"token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2NzY2NTE5NywiZXhwIjoxNjY3NjY4Nzk3LCJuYmYiOjE2Njc2NjUxOTcsImp0aSI6Im9YeGdadzNkSDVBaUJFTzYiLCJzdWIiOjUsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.rErUN8XvBG-1VeeBxQAJsRkEKk0j7lLIOSWQX9K2A98"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sat, 05 Nov 2022 16:21:41 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"user\": {\n        \"id\": 5,\n        \"name\": \"Nama User\",\n        \"role\": \"Admin\",\n        \"email\": \"user123@gmail.com\",\n        \"email_verified_at\": null,\n        \"created_at\": \"2022-11-05T16:14:23.000000Z\",\n        \"updated_at\": \"2022-11-05T16:14:23.000000Z\"\n    },\n    \"authorisation\": {\n        \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL3JlZnJlc2giLCJpYXQiOjE2Njc2NjUxOTcsImV4cCI6MTY2NzY2ODkwMSwibmJmIjoxNjY3NjY1MzAxLCJqdGkiOiJEU2tlQ2Ywdk9UamRyc2plIiwic3ViIjo1LCJwcnYiOiIyM2JkNWM4OTQ5ZjYwMGFkYjM5ZTcwMWM0MDA4NzJkYjdhNTk3NmY3In0.fdmLNMgJz7Q6U7JG84kK2qwE2Bhu2F0cXDo6r5D37QA\",\n        \"type\": \"bearer\"\n    }\n}"}],"_postman_id":"f6adbbb6-b836-4987-9e8c-3823923f95eb"}],"id":"670c3002-0d9a-401a-a841-b6e2c65ea667","description":"<p>Dokumentasi autentifikasi, autentifikasi yang digunakan adalah JWT</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"288411e0-984f-4e8b-9bfc-b16b4eb77bcd","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e1276391-62fc-45ed-b53b-14c434f3b8ee","type":"text/javascript","exec":[""]}}],"_postman_id":"670c3002-0d9a-401a-a841-b6e2c65ea667"},{"name":"Product","item":[{"name":"index","id":"4bbba144-2a23-45fb-97ab-2be1b6c16c67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","description":"<p>Ganti xxx123 dengan token yang didapatkan saat login</p>\n","type":"text"}],"url":"https://cafe-notes-api.herokuapp.com/api/product","urlObject":{"protocol":"https","path":["api","product"],"host":["cafe-notes-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"eefdd15e-630a-4869-b6c4-47935e24e2ad","name":"index","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","description":"Ganti xxx123 dengan token yang didapatkan saat login","type":"text"}],"url":"https://cafe-notes-api.herokuapp.com/api/product"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 06 Nov 2022 03:05:40 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"message\": \"OK\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"category_id\": 1,\n            \"title\": \"Strawberry Parfait\",\n            \"thumbnail\": \"product-thumbnails/daa095_1667663710.png\",\n            \"description\": \"ini adalah deskripsi produk\",\n            \"harga_beli\": 1000,\n            \"harga_jual\": 2000,\n            \"stock\": 1000,\n            \"created_at\": \"2022-11-05T15:43:49.000000Z\",\n            \"updated_at\": \"2022-11-05T16:08:02.000000Z\"\n        },\n        {\n            \"id\": 4,\n            \"category_id\": 1,\n            \"title\": \"Orange Juice\",\n            \"thumbnail\": null,\n            \"description\": \"ini adalah deskripsi produk\",\n            \"harga_beli\": 500,\n            \"harga_jual\": 1000,\n            \"stock\": 100,\n            \"created_at\": \"2022-11-06T02:29:14.000000Z\",\n            \"updated_at\": \"2022-11-06T02:29:14.000000Z\"\n        }\n    ]\n}"}],"_postman_id":"4bbba144-2a23-45fb-97ab-2be1b6c16c67"},{"name":"show","id":"0e5c6ecb-8c31-4985-be83-ad07368ba302","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","description":"<p>Ganti xxx123 dengan token yang didapatkan saat login</p>\n","type":"text"}],"url":"https://cafe-notes-api.herokuapp.com/api/product/:id_product","urlObject":{"protocol":"https","path":["api","product",":id_product"],"host":["cafe-notes-api","herokuapp","com"],"query":[],"variable":[{"description":{"content":"<p>Masukan id product yang ingin dicari</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id_product"}]}},"response":[{"id":"d2be085c-2c9b-4345-a845-d69ab8f04716","name":"show","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","description":"Ganti xxx123 dengan token yang didapatkan saat login","type":"text"}],"url":{"raw":"https://cafe-notes-api.herokuapp.com/api/product/:id_product","protocol":"https","host":["cafe-notes-api","herokuapp","com"],"path":["api","product",":id_product"],"variable":[{"key":"id_product","value":"1","description":"Masukan id product yang ingin dicari"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 06 Nov 2022 09:30:51 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"id\": 1,\n        \"category_id\": 1,\n        \"title\": \"Strawberry Parfait\",\n        \"thumbnail\": null,\n        \"description\": \"ini adalah deskripsi produk Strawberry Parfait\",\n        \"harga_beli\": 1000,\n        \"harga_jual\": 2000,\n        \"stock\": 1000,\n        \"created_at\": \"2022-11-06T09:26:46.000000Z\",\n        \"updated_at\": \"2022-11-06T09:26:46.000000Z\"\n    }\n}"}],"_postman_id":"0e5c6ecb-8c31-4985-be83-ad07368ba302"},{"name":"store","id":"826c8f41-2538-4b71-a3f2-cf85f239a396","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","description":"<p>Ganti xxx123 dengan token yang didapat saat login</p>\n","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Test 1","description":"<p>Wajib | String | max:150</p>\n","type":"text"},{"key":"description","value":"ini adalah deskripsi produk","description":"<p>Opsional | Text</p>\n","type":"text"},{"key":"stock","value":"100","description":"<p>Wajib| | Integer | stock &gt; 0</p>\n","type":"text"},{"key":"harga_beli","value":"500","description":"<p>Wajib| | Integer | harga_beli &gt; 0</p>\n","type":"text"},{"key":"harga_jual","value":"1000","description":"<p>Wajib| | Integer | harga_jual&gt; 0</p>\n","type":"text"},{"key":"category_id","value":"1","description":"<p>Wajib| | Wajib | id category yang sudah ada</p>\n","type":"text"},{"key":"thumbnail","description":"<p>Opsional | File</p>\n","type":"file","src":"SfcruJyeZ/3.png"}]},"url":"https://cafe-notes-api.herokuapp.com/api/product","description":"<h1 id=\"format-store-data-product\">Format store data product</h1>\n<ul>\n<li>Method POST</li>\n<li>Body -&gt; Form</li>\n<li>Authentication Bearer</li>\n<li>Required Admini Role</li>\n<li>enpoint <a href=\"http://127.0.0.1:8000/api/product\">http://127.0.0.1:8000/api/product</a></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title</td>\n<td>\"required, type string, max 190\"</td>\n</tr>\n<tr>\n<td>description</td>\n<td>\"text\"</td>\n</tr>\n<tr>\n<td>harga_beli</td>\n<td>\"required, integer \"</td>\n</tr>\n<tr>\n<td>harga_jual</td>\n<td>\"required, integer \"</td>\n</tr>\n<tr>\n<td>stock</td>\n<td>\"required, integer \"</td>\n</tr>\n<tr>\n<td>category_id</td>\n<td>\"required, id pada tabel kategori \"</td>\n</tr>\n<tr>\n<td>thumbnail</td>\n<td>\"optional, file, harus image \"</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"contoh\">Contoh</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title</td>\n<td>\"strawberry cream\"</td>\n</tr>\n<tr>\n<td>description</td>\n<td>\"ini deskrpisi strawberry cream\"</td>\n</tr>\n<tr>\n<td>harga_beli</td>\n<td>25000</td>\n</tr>\n<tr>\n<td>harga_jual</td>\n<td>30000</td>\n</tr>\n<tr>\n<td>stock</td>\n<td>10</td>\n</tr>\n<tr>\n<td>category_id</td>\n<td>1</td>\n</tr>\n<tr>\n<td>thumbnail</td>\n<td>\"gambar-strawberry-cream.jpg\"</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","product"],"host":["cafe-notes-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"b4910a76-1e62-4d31-b308-184496794d7a","name":"store","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","description":"Ganti xxx123 dengan token yang didapat saat login","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Test 1","description":"Wajib | String | max:150","type":"text"},{"key":"description","value":"ini adalah deskripsi produk","description":"Opsional | Text","type":"text"},{"key":"stock","value":"100","description":"Wajib| | Integer | stock > 0","type":"text"},{"key":"harga_beli","value":"500","description":"Wajib| | Integer | harga_beli > 0","type":"text"},{"key":"harga_jual","value":"1000","description":"Wajib| | Integer | harga_jual> 0","type":"text"},{"key":"category_id","value":"1","description":"Wajib| | Wajib | id category yang sudah ada","type":"text"},{"key":"thumbnail","description":"Opsional | File","type":"file","src":"SfcruJyeZ/3.png"}]},"url":"https://cafe-notes-api.herokuapp.com/api/product"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 06 Nov 2022 09:31:57 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 201,\n    \"message\": \"Created\",\n    \"data\": {\n        \"title\": \"Test 1\",\n        \"thumbnail\": \"product-thumbnails/c60c37_1667727116.png\",\n        \"description\": \"ini adalah deskripsi produk\",\n        \"harga_beli\": \"500\",\n        \"harga_jual\": \"1000\",\n        \"stock\": \"100\",\n        \"category_id\": \"1\"\n    }\n}"}],"_postman_id":"826c8f41-2538-4b71-a3f2-cf85f239a396"},{"name":"update","id":"e34ea9b7-b6e7-489f-82e4-26cc27777502","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","description":"<p>Ganti xxx123 dengan token yang didapatkan saat login</p>\n","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Test Update","description":"<p>Wajib | String | max:150</p>\n","type":"text"},{"key":"description","value":"ini adalah deskripsi produk","description":"<p>Opsional | Text</p>\n","type":"text","disabled":true},{"key":"stock","value":"1000","description":"<p>Wajib| | Integer | &gt; 0</p>\n","type":"text"},{"key":"harga_beli","value":"1000","description":"<p>Wajib| | Integer | &gt; 0</p>\n","type":"text"},{"key":"harga_jual","value":"2000","description":"<p>Wajib| | Integer | &gt; 0</p>\n","type":"text"},{"key":"category_id","value":"1","description":"<p>Wajib| | Wajib | id category yang sudah ada</p>\n","type":"text"},{"key":"thumbnail","description":"<p>Opsional | File</p>\n","type":"file","value":null,"disabled":true},{"key":"_method","value":"PUT","type":"text"}]},"url":"https://cafe-notes-api.herokuapp.com/api/product/:id_product","description":"<h1 id=\"format-store-data-product\">Format store data product</h1>\n<ul>\n<li>Method POST</li>\n<li>Body -&gt; Form</li>\n<li>Authentication Bearer</li>\n<li>Required Admini Role</li>\n<li>enpoint <a href=\"http://127.0.0.1:8000/api/product/%7Bid%7D\">http://127.0.0.1:8000/api/product/{id}</a></li>\n<li>{id} diganti jadi id produk yang mau diupdate contoh <a href=\"http://127.0.0.1:8000/api/product/1\">http://127.0.0.1:8000/api/product/1</a></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>_method</td>\n<td>\"PUT\"</td>\n</tr>\n<tr>\n<td>title</td>\n<td>\"required, type string, max 190\"</td>\n</tr>\n<tr>\n<td>description</td>\n<td>\"text\"</td>\n</tr>\n<tr>\n<td>harga_beli</td>\n<td>\"required, integer \"</td>\n</tr>\n<tr>\n<td>harga_jual</td>\n<td>\"required, integer \"</td>\n</tr>\n<tr>\n<td>stock</td>\n<td>\"required, integer \"</td>\n</tr>\n<tr>\n<td>category_id</td>\n<td>\"required, id pada tabel kategori \"</td>\n</tr>\n<tr>\n<td>thumbnail</td>\n<td>\"optional, file, harus image \"</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"contoh\">Contoh</h2>\n<p>Sama sistemnya kaya store data sebelumnya harus dimasukin lagi. cuma pastiin idnya barangnya harus udah ada namanya juga update.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>_method</td>\n<td>PUT</td>\n</tr>\n<tr>\n<td>title</td>\n<td>\"strawberry cream update\"</td>\n</tr>\n<tr>\n<td>description</td>\n<td>\"ini deskrpisi strawberry cream\"</td>\n</tr>\n<tr>\n<td>harga_beli</td>\n<td>20000</td>\n</tr>\n<tr>\n<td>harga_jual</td>\n<td>25000</td>\n</tr>\n<tr>\n<td>stock</td>\n<td>15</td>\n</tr>\n<tr>\n<td>category_id</td>\n<td>1</td>\n</tr>\n<tr>\n<td>thumbnail</td>\n<td>\"gambar-strawberry-cream.jpg\"</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","product",":id_product"],"host":["cafe-notes-api","herokuapp","com"],"query":[],"variable":[{"description":{"content":"<p>Masukan id product yang ingin di update</p>\n","type":"text/plain"},"type":"any","value":"5","key":"id_product"}]}},"response":[{"id":"787ef94e-ff96-47df-8aa1-9a16ed77c345","name":"update","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","description":"Ganti xxx123 dengan token yang didapatkan saat login","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Test Update","description":"Wajib | String | max:150","type":"text"},{"key":"description","value":"ini adalah deskripsi produk","description":"Opsional | Text","type":"text","disabled":true},{"key":"stock","value":"1000","description":"Wajib| | Integer | > 0","type":"text"},{"key":"harga_beli","value":"1000","description":"Wajib| | Integer | > 0","type":"text"},{"key":"harga_jual","value":"2000","description":"Wajib| | Integer | > 0","type":"text"},{"key":"category_id","value":"1","description":"Wajib| | Wajib | id category yang sudah ada","type":"text"},{"key":"thumbnail","description":"Opsional | File","type":"file","value":null,"disabled":true},{"key":"_method","value":"PUT","type":"text"}]},"url":{"raw":"https://cafe-notes-api.herokuapp.com/api/product/:id_product","protocol":"https","host":["cafe-notes-api","herokuapp","com"],"path":["api","product",":id_product"],"variable":[{"key":"id_product","value":"5","description":"Masukan id product yang ingin di update"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 06 Nov 2022 09:34:53 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"old_product\": {\n            \"id\": 5,\n            \"category_id\": 1,\n            \"title\": \"Test 1\",\n            \"thumbnail\": \"product-thumbnails/c60c37_1667727116.png\",\n            \"description\": \"ini adalah deskripsi produk\",\n            \"harga_beli\": 500,\n            \"harga_jual\": 1000,\n            \"stock\": 100,\n            \"created_at\": \"2022-11-06T09:31:57.000000Z\",\n            \"updated_at\": \"2022-11-06T09:31:57.000000Z\"\n        },\n        \"update_product\": {\n            \"title\": \"Test Update\",\n            \"harga_beli\": \"1000\",\n            \"harga_jual\": \"2000\",\n            \"stock\": \"1000\",\n            \"category_id\": \"1\"\n        }\n    }\n}"}],"_postman_id":"e34ea9b7-b6e7-489f-82e4-26cc27777502"},{"name":"delete","id":"ae4da401-2011-4b50-81fd-8641239eccaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","description":"<p>Ganti xxx123 dengan token yang didapat saat login</p>\n","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"_method","value":"DELETE","type":"text"}]},"url":"https://cafe-notes-api.herokuapp.com/api/product/:id_product","description":"<h1 id=\"format-store-data-product\">Format store data product</h1>\n<ul>\n<li>Method POST</li>\n<li>Body -&gt; Form</li>\n<li>Authentication Bearer</li>\n<li>Required Admini Role</li>\n<li>enpoint <a href=\"http://127.0.0.1:8000/api/product/%7Bid%7D\">http://127.0.0.1:8000/api/product/{id}</a></li>\n<li>{id} diganti jadi id produk yang mau diupdate contoh <a href=\"http://127.0.0.1:8000/api/product/1\">http://127.0.0.1:8000/api/product/1</a></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>_method</td>\n<td>\"PUT\"</td>\n</tr>\n<tr>\n<td>title</td>\n<td>\"required, type string, max 190\"</td>\n</tr>\n<tr>\n<td>description</td>\n<td>\"text\"</td>\n</tr>\n<tr>\n<td>harga_beli</td>\n<td>\"required, integer \"</td>\n</tr>\n<tr>\n<td>harga_jual</td>\n<td>\"required, integer \"</td>\n</tr>\n<tr>\n<td>stock</td>\n<td>\"required, integer \"</td>\n</tr>\n<tr>\n<td>category_id</td>\n<td>\"required, id pada tabel kategori \"</td>\n</tr>\n<tr>\n<td>thumbnail</td>\n<td>\"optional, file, harus image \"</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"contoh\">Contoh</h2>\n<p>Sama sistemnya kaya store data sebelumnya harus dimasukin lagi. cuma pastiin idnya barangnya harus udah ada namanya juga update.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>_method</td>\n<td>PUT</td>\n</tr>\n<tr>\n<td>title</td>\n<td>\"strawberry cream update\"</td>\n</tr>\n<tr>\n<td>description</td>\n<td>\"ini deskrpisi strawberry cream\"</td>\n</tr>\n<tr>\n<td>harga_beli</td>\n<td>20000</td>\n</tr>\n<tr>\n<td>harga_jual</td>\n<td>25000</td>\n</tr>\n<tr>\n<td>stock</td>\n<td>15</td>\n</tr>\n<tr>\n<td>category_id</td>\n<td>1</td>\n</tr>\n<tr>\n<td>thumbnail</td>\n<td>\"gambar-strawberry-cream.jpg\"</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","product",":id_product"],"host":["cafe-notes-api","herokuapp","com"],"query":[],"variable":[{"description":{"content":"<p>masukan id product yang ingin dihapus</p>\n","type":"text/plain"},"type":"any","value":"7","key":"id_product"}]}},"response":[{"id":"76eb7f2e-09b1-4a67-a639-37651b3f54ed","name":"delete","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","description":"Ganti xxx123 dengan token yang didapat saat login","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"_method","value":"DELETE","type":"text"}]},"url":{"raw":"https://cafe-notes-api.herokuapp.com/api/product/:id_product","protocol":"https","host":["cafe-notes-api","herokuapp","com"],"path":["api","product",":id_product"],"variable":[{"key":"id_product","value":"7","description":"masukan id product yang ingin dihapus"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 06 Nov 2022 03:26:09 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 201,\n    \"message\": \"OK\",\n    \"data\": null\n}"}],"_postman_id":"ae4da401-2011-4b50-81fd-8641239eccaa"}],"id":"f26a9b8f-0d67-4859-9ee9-34000968bf38","event":[{"listen":"prerequest","script":{"id":"cf61fc8b-d525-4525-b627-0173a1c1cfe3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6e03f6f5-4d1f-4388-9a90-59db682105e6","type":"text/javascript","exec":[""]}}],"_postman_id":"f26a9b8f-0d67-4859-9ee9-34000968bf38","description":""},{"name":"Trasactions","item":[{"name":"store","id":"027f6d46-ae33-447f-aa50-7a28745c4f56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"product_id[]","value":"1","type":"text"},{"key":"jumlah[]","value":"1","type":"text"},{"key":"product_id[]","value":"6","type":"text"},{"key":"jumlah[]","value":"3","type":"text"},{"key":"diterima","value":"50000","type":"text"}]},"url":"https://cafe-notes-api.herokuapp.com/api/transaction","urlObject":{"protocol":"https","path":["api","transaction"],"host":["cafe-notes-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"9c922b99-2682-426b-b385-26220795172f","name":"store","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"product_id[]","value":"1","type":"text"},{"key":"jumlah[]","value":"1","type":"text"},{"key":"product_id[]","value":"6","type":"text"},{"key":"jumlah[]","value":"3","type":"text"},{"key":"diterima","value":"50000","type":"text"}]},"url":"https://cafe-notes-api.herokuapp.com/api/transaction"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 06 Nov 2022 03:44:54 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 201,\n    \"message\": \"Ok\",\n    \"data\": {\n        \"Kembalian\": 46000\n    }\n}"}],"_postman_id":"027f6d46-ae33-447f-aa50-7a28745c4f56"},{"name":"index (seluruh catatan transaksi)","id":"edfead3c-f08f-4b42-8570-cd04d283ffc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","type":"text"}],"url":"https://cafe-notes-api.herokuapp.com/api/transaction","urlObject":{"protocol":"https","path":["api","transaction"],"host":["cafe-notes-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"e611cccf-1753-47c1-a582-a315dd2bd13a","name":"index","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","type":"text"}],"url":"https://cafe-notes-api.herokuapp.com/api/transaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 06 Nov 2022 03:48:16 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"message\": \"Ok\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"code\": \"TRX986125\",\n            \"method\": \"Tunai\",\n            \"total_kuantitas\": 1,\n            \"total_harga\": 2000,\n            \"diterima\": 50000,\n            \"kembalian\": 48000,\n            \"created_at\": \"2022-11-06T03:42:05.000000Z\",\n            \"updated_at\": \"2022-11-06T03:42:05.000000Z\"\n        },\n        {\n            \"id\": 2,\n            \"code\": \"TRX306294\",\n            \"method\": \"Tunai\",\n            \"total_kuantitas\": 4,\n            \"total_harga\": 4000,\n            \"diterima\": 50000,\n            \"kembalian\": 46000,\n            \"created_at\": \"2022-11-06T03:44:54.000000Z\",\n            \"updated_at\": \"2022-11-06T03:44:54.000000Z\"\n        }\n    ]\n}"}],"_postman_id":"edfead3c-f08f-4b42-8570-cd04d283ffc9"},{"name":"show (detail transaksi)","id":"e85489dd-84b0-43f4-a1e3-1c503737fc4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","type":"text"}],"url":"https://cafe-notes-api.herokuapp.com/api/transaction/:id_transaction","urlObject":{"protocol":"https","path":["api","transaction",":id_transaction"],"host":["cafe-notes-api","herokuapp","com"],"query":[],"variable":[{"description":{"content":"<p>Masukan id transaction yang ingin dilihat detailnya</p>\n","type":"text/plain"},"type":"any","value":"2","key":"id_transaction"}]}},"response":[{"id":"5135039b-f043-4e52-ab52-7f1b4d599863","name":"show (detail transaksi)","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","type":"text"}],"url":{"raw":"https://cafe-notes-api.herokuapp.com/api/transaction/:id_transaction","protocol":"https","host":["cafe-notes-api","herokuapp","com"],"path":["api","transaction",":id_transaction"],"variable":[{"key":"id_transaction","value":"2","description":"Masukan id transaction yang ingin dilihat detailnya"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 06 Nov 2022 03:50:53 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"message\": \"Ok\",\n    \"data\": {\n        \"transaction\": {\n            \"id\": 2,\n            \"code\": \"TRX306294\",\n            \"method\": \"Tunai\",\n            \"total_kuantitas\": 4,\n            \"total_harga\": 4000,\n            \"diterima\": 50000,\n            \"kembalian\": 46000,\n            \"created_at\": \"2022-11-06T03:44:54.000000Z\",\n            \"updated_at\": \"2022-11-06T03:44:54.000000Z\"\n        },\n        \"transaction_detai\": [\n            {\n                \"id\": 2,\n                \"product_id\": 1,\n                \"transaction_id\": 2,\n                \"harga_beli\": 1000,\n                \"harga_jual\": 2000,\n                \"kuantitas\": 1,\n                \"total\": 2000\n            },\n            {\n                \"id\": 3,\n                \"product_id\": 6,\n                \"transaction_id\": 2,\n                \"harga_beli\": 1000,\n                \"harga_jual\": 2000,\n                \"kuantitas\": 3,\n                \"total\": 6000\n            }\n        ]\n    }\n}"}],"_postman_id":"e85489dd-84b0-43f4-a1e3-1c503737fc4b"}],"id":"da8975b2-a535-47aa-9c77-350c9cea8018","_postman_id":"da8975b2-a535-47aa-9c77-350c9cea8018","description":""},{"name":"Category","item":[{"name":"index","id":"2a74c557-32db-4e4d-b375-ef9339a2cb65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","description":"<p>Ganti xxx123 dengan token yang didapat saat login</p>\n","type":"text"}],"url":"https://cafe-notes-api.herokuapp.com/api/categories","urlObject":{"protocol":"https","path":["api","categories"],"host":["cafe-notes-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"930ac55d-ac20-471e-bebb-de176664e51f","name":"index","originalRequest":{"method":"GET","header":[],"url":"https://cafe-notes-api.herokuapp.com/api/categories"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 06 Nov 2022 09:38:02 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"message\": \"OK\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Makanan\",\n            \"created_at\": \"2022-11-06T09:26:46.000000Z\",\n            \"updated_at\": \"2022-11-06T09:26:46.000000Z\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Minuman\",\n            \"created_at\": \"2022-11-06T09:26:46.000000Z\",\n            \"updated_at\": \"2022-11-06T09:26:46.000000Z\"\n        }\n    ]\n}"}],"_postman_id":"2a74c557-32db-4e4d-b375-ef9339a2cb65"},{"name":"show","id":"892008e3-675e-4700-ac5f-8898bc794b51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","description":"<p>Ganti xxx123 dengan token yang didapat saat login</p>\n","type":"text"}],"url":"https://cafe-notes-api.herokuapp.com/api/categories/:id_product","urlObject":{"protocol":"https","path":["api","categories",":id_product"],"host":["cafe-notes-api","herokuapp","com"],"query":[],"variable":[{"type":"any","value":"1","key":"id_product"}]}},"response":[{"id":"3b694d2e-d5b7-42ab-9fd6-3b015f38b22c","name":"show","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","description":"Ganti xxx123 dengan token yang didapat saat login","type":"text"}],"url":{"raw":"https://cafe-notes-api.herokuapp.com/api/categories/:id_product","protocol":"https","host":["cafe-notes-api","herokuapp","com"],"path":["api","categories",":id_product"],"variable":[{"key":"id_product","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 06 Nov 2022 09:45:58 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"category\": {\n            \"id\": 1,\n            \"name\": \"Makanan\",\n            \"created_at\": \"2022-11-06T09:26:46.000000Z\",\n            \"updated_at\": \"2022-11-06T09:26:46.000000Z\",\n            \"categories_product\": [\n                {\n                    \"id\": 1,\n                    \"category_id\": 1,\n                    \"title\": \"Strawberry Parfait\",\n                    \"thumbnail\": null,\n                    \"description\": \"ini adalah deskripsi produk Strawberry Parfait\",\n                    \"harga_beli\": 1000,\n                    \"harga_jual\": 2000,\n                    \"stock\": 1000,\n                    \"created_at\": \"2022-11-06T09:26:46.000000Z\",\n                    \"updated_at\": \"2022-11-06T09:26:46.000000Z\"\n                },\n                {\n                    \"id\": 2,\n                    \"category_id\": 1,\n                    \"title\": \"Muffin\",\n                    \"thumbnail\": null,\n                    \"description\": \"ini adalah deskripsi produk Muffin\",\n                    \"harga_beli\": 500,\n                    \"harga_jual\": 1000,\n                    \"stock\": 500,\n                    \"created_at\": \"2022-11-06T09:26:46.000000Z\",\n                    \"updated_at\": \"2022-11-06T09:26:46.000000Z\"\n                },\n                {\n                    \"id\": 5,\n                    \"category_id\": 1,\n                    \"title\": \"Test Update\",\n                    \"thumbnail\": \"product-thumbnails/c60c37_1667727116.png\",\n                    \"description\": \"ini adalah deskripsi produk\",\n                    \"harga_beli\": 1000,\n                    \"harga_jual\": 2000,\n                    \"stock\": 1000,\n                    \"created_at\": \"2022-11-06T09:31:57.000000Z\",\n                    \"updated_at\": \"2022-11-06T09:34:53.000000Z\"\n                }\n            ]\n        },\n        \"products\": [\n            {\n                \"id\": 1,\n                \"category_id\": 1,\n                \"title\": \"Strawberry Parfait\",\n                \"thumbnail\": null,\n                \"description\": \"ini adalah deskripsi produk Strawberry Parfait\",\n                \"harga_beli\": 1000,\n                \"harga_jual\": 2000,\n                \"stock\": 1000,\n                \"created_at\": \"2022-11-06T09:26:46.000000Z\",\n                \"updated_at\": \"2022-11-06T09:26:46.000000Z\"\n            },\n            {\n                \"id\": 2,\n                \"category_id\": 1,\n                \"title\": \"Muffin\",\n                \"thumbnail\": null,\n                \"description\": \"ini adalah deskripsi produk Muffin\",\n                \"harga_beli\": 500,\n                \"harga_jual\": 1000,\n                \"stock\": 500,\n                \"created_at\": \"2022-11-06T09:26:46.000000Z\",\n                \"updated_at\": \"2022-11-06T09:26:46.000000Z\"\n            },\n            {\n                \"id\": 5,\n                \"category_id\": 1,\n                \"title\": \"Test Update\",\n                \"thumbnail\": \"product-thumbnails/c60c37_1667727116.png\",\n                \"description\": \"ini adalah deskripsi produk\",\n                \"harga_beli\": 1000,\n                \"harga_jual\": 2000,\n                \"stock\": 1000,\n                \"created_at\": \"2022-11-06T09:31:57.000000Z\",\n                \"updated_at\": \"2022-11-06T09:34:53.000000Z\"\n            }\n        ]\n    }\n}"}],"_postman_id":"892008e3-675e-4700-ac5f-8898bc794b51"},{"name":"store","id":"d77497b7-3dd7-4864-9aa9-19878393daee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","description":"<p>Ganti xxx123 dengan token yang didapat saat login</p>\n","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Test Category","type":"text"}]},"url":"https://cafe-notes-api.herokuapp.com/api/categories","urlObject":{"protocol":"https","path":["api","categories"],"host":["cafe-notes-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"800e833e-71bf-4f14-849d-32cb1071623b","name":"store","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","description":"Ganti xxx123 dengan token yang didapat saat login","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Test Category","type":"text"}]},"url":"https://cafe-notes-api.herokuapp.com/api/categories"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 06 Nov 2022 09:47:30 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 201,\n    \"message\": \"Created\",\n    \"data\": null\n}"}],"_postman_id":"d77497b7-3dd7-4864-9aa9-19878393daee"},{"name":"update","id":"63d6aed8-c585-4034-8354-67fd64817f57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","description":"<p>Ganti xxx123 dengan token yang didapat saat login</p>\n","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Test Category Update","type":"text"},{"key":"_method","value":"PUT","type":"text"}]},"url":"https://cafe-notes-api.herokuapp.com/api/categories/:id_product","urlObject":{"protocol":"https","path":["api","categories",":id_product"],"host":["cafe-notes-api","herokuapp","com"],"query":[],"variable":[{"type":"any","value":"3","key":"id_product"}]}},"response":[{"id":"d1befa98-9e93-4238-96f5-c5721f2ac98f","name":"update","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","description":"Ganti xxx123 dengan token yang didapat saat login","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Test Category Update","type":"text"},{"key":"_method","value":"PUT","type":"text"}]},"url":{"raw":"https://cafe-notes-api.herokuapp.com/api/categories/:id_product","protocol":"https","host":["cafe-notes-api","herokuapp","com"],"path":["api","categories",":id_product"],"variable":[{"key":"id_product","value":"3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 06 Nov 2022 09:49:16 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"id\": 3,\n        \"name\": \"Test Category Update\",\n        \"created_at\": \"2022-11-06T09:47:30.000000Z\",\n        \"updated_at\": \"2022-11-06T09:49:16.000000Z\"\n    }\n}"}],"_postman_id":"63d6aed8-c585-4034-8354-67fd64817f57"},{"name":"delete","id":"9b27f22c-e44f-4add-90fe-582554479ca3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","description":"<p>Ganti xxx123 dengan token yang didapat saat login</p>\n","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Test Category Update","type":"text"},{"key":"_method","value":"DELETE","type":"text"}]},"url":"https://cafe-notes-api.herokuapp.com/api/categories/:id_product","urlObject":{"protocol":"https","path":["api","categories",":id_product"],"host":["cafe-notes-api","herokuapp","com"],"query":[],"variable":[{"id":"d26abc09-e9be-4c60-a7c7-a61c113f05a3","type":"any","value":"3","key":"id_product"}]}},"response":[{"id":"c015fb19-9c69-4331-82c8-d68a5d0f3d17","name":"delete","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8","description":"Ganti xxx123 dengan token yang didapat saat login","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Test Category Update","type":"text"},{"key":"_method","value":"DELETE","type":"text"}]},"url":{"raw":"https://cafe-notes-api.herokuapp.com/api/categories/:id_product","protocol":"https","host":["cafe-notes-api","herokuapp","com"],"path":["api","categories",":id_product"],"variable":[{"id":"d26abc09-e9be-4c60-a7c7-a61c113f05a3","key":"id_product","value":"3"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 06 Nov 2022 09:50:25 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404,\n    \"message\": \"Category id not found\",\n    \"data\": \"No query results for model [App\\\\Models\\\\Category] 3\"\n}"}],"_postman_id":"9b27f22c-e44f-4add-90fe-582554479ca3"}],"id":"2bb47ba3-d6f9-44e8-be2b-754bd1717d86","description":"<p>TBA</p>\n","_postman_id":"2bb47ba3-d6f9-44e8-be2b-754bd1717d86"}],"event":[{"listen":"prerequest","script":{"id":"1e390e08-f87c-4b0c-824e-4e36e6976b7e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d33c9246-10ad-431d-bc60-4014b927818a","type":"text/javascript","exec":[""]}}],"variable":[{"key":"token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jYWZlLW5vdGVzLWFwaS5oZXJva3VhcHAuY29tXC9hcGlcL2xvZ2lucyIsImlhdCI6MTY2ODMyMjMwNiwiZXhwIjoxNjY4MzI1OTA2LCJuYmYiOjE2NjgzMjIzMDYsImp0aSI6InpiUFdrS2NFYVRHV2o5RW0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.tcsPhi_do2lkZHBOqHYrkaXhbvE3lrsk-HjwO_bbaO8"},{"key":"ket_1","value":"Ganti xxx123 dengan token yang didapatkan saat login"}]}