{"info":{"_postman_id":"9165fd05-f916-4392-8ff6-aaab4eda0184","name":"IRMS","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"42687295","collectionId":"9165fd05-f916-4392-8ff6-aaab4eda0184","publishedId":"2sBXqMHeSK","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-05-06T09:05:25.000Z"},"item":[{"name":"create user","id":"c7b1b2a6-63e1-4c2a-8624-8c6446e6fe00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"trentesept2006@gmail.com\",\r\n  \"password\": \"theloser37\",\r\n  \"role\": \"MANAGER\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/user/create-user","urlObject":{"protocol":"http","port":"8080","path":["api","user","create-user"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c7b1b2a6-63e1-4c2a-8624-8c6446e6fe00"},{"name":"login","id":"7a8c553e-f4e2-4ecd-9a8a-eb8f5db92a28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"trentesept2005@gmail.com\",\r\n  \"password\": \"theloser37\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/auth/login","urlObject":{"protocol":"http","port":"8080","path":["api","auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7a8c553e-f4e2-4ecd-9a8a-eb8f5db92a28"},{"name":"change password","id":"ce623fb3-14a8-4c3b-946b-cb17052a4d0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"oldPassword\": \"theloser37\",\r\n    \"newPassword\": \"theloser38\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/user/change-password","urlObject":{"protocol":"http","port":"8080","path":["api","user","change-password"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce623fb3-14a8-4c3b-946b-cb17052a4d0c"},{"name":"create new category","id":"99c7172a-812a-4669-befe-0496b2942ead","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"beverage\",\r\n    \"description\": \"drinkable product\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/category","urlObject":{"protocol":"http","port":"8080","path":["api","category"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"99c7172a-812a-4669-befe-0496b2942ead"},{"name":"update category","id":"0a994173-2a1d-4f78-b4cd-bfd4c96f1ec3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"beverage\",\r\n    \"description\": \"drinkable products\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/category/1","urlObject":{"protocol":"http","port":"8080","path":["api","category","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0a994173-2a1d-4f78-b4cd-bfd4c96f1ec3"},{"name":"find all categories","id":"7d96de01-45fe-4ead-98c0-864a9b579f13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"beverage\",\r\n    \"description\": \"drinkable products\"\r\n}"},"url":"http://localhost:8080/api/category/all","urlObject":{"protocol":"http","port":"8080","path":["api","category","all"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7d96de01-45fe-4ead-98c0-864a9b579f13"},{"name":"find all dishes","id":"02e3d578-404a-45c1-80df-612a8c8ee6ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"beverage\",\r\n    \"description\": \"drinkable products\"\r\n}"},"url":"http://localhost:8080/api/dish/all","urlObject":{"protocol":"http","port":"8080","path":["api","dish","all"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"02e3d578-404a-45c1-80df-612a8c8ee6ca"},{"name":"find all combos","id":"81ac6331-21c6-437d-ae38-7673235d3548","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"beverage\",\r\n    \"description\": \"drinkable products\"\r\n}"},"url":"http://localhost:8080/api/combo/all","urlObject":{"protocol":"http","port":"8080","path":["api","combo","all"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"81ac6331-21c6-437d-ae38-7673235d3548"},{"name":"add choice into option group","id":"0819abea-8214-4ffb-af6f-89446f9b3204","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Size XXL\",\r\n  \"surcharge\": \"5000.00\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/option-group/1/choices","urlObject":{"protocol":"http","port":"8080","path":["api","option-group","1","choices"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0819abea-8214-4ffb-af6f-89446f9b3204"},{"name":"create new dish","id":"8aec7aed-7ac9-4f01-bbf9-62b70a44475d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Trà Sữa Trân Châu\",\r\n  \"description\": \"Trà sữa truyền thống kèm trân châu đen\",\r\n  \"price\": 35000.00,\r\n  \"imageUrl\": \"https://example.com/image.jpg\",\r\n  \"recipeNotes\": \"Pha 70% đường, 50% đá\",\r\n  \"categoryId\": 1, \r\n  \"optionGroupIds\": [1]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/dish","urlObject":{"protocol":"http","port":"8080","path":["api","dish"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8aec7aed-7ac9-4f01-bbf9-62b70a44475d"},{"name":"create new combo","id":"dbb86198-3217-48a2-bf7e-2ae00b106f33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Combo Sinh Viên\",\r\n  \"description\": \"Gấp đôi trà sữa\",\r\n  \"price\": 50000.00,\r\n  \"imageUrl\": \"https://example.com/combo.jpg\",\r\n  \"categoryId\": 1,\r\n  \"startDate\": \"2024-05-10T00:00:00\",\r\n  \"endDate\": \"2024-05-20T23:59:59\",\r\n  \"dishes\": [\r\n    {\r\n      \"dishId\": 1,\r\n      \"quantity\": 2\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/combo","urlObject":{"protocol":"http","port":"8080","path":["api","combo"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"dbb86198-3217-48a2-bf7e-2ae00b106f33"},{"name":"update combo","id":"938d5975-60a0-465e-937e-a539a54fad93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Combo Sinh Viên\",\r\n  \"description\": \"Gấp đôi trà sữa\",\r\n  \"price\": 50000000.00,\r\n  \"imageUrl\": \"https://example.com/combo.jpg\",\r\n  \"categoryId\": 1,\r\n  \"startDate\": \"2024-05-10T00:00:00\",\r\n  \"endDate\": \"2024-05-20T23:59:59\",\r\n  \"dishes\": [\r\n    {\r\n      \"dishId\": 1,\r\n      \"quantity\": 2\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/combo/2","urlObject":{"protocol":"http","port":"8080","path":["api","combo","2"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"938d5975-60a0-465e-937e-a539a54fad93"},{"name":"create option group with option choices Copy 2","id":"a5a58b56-c0f6-47fa-bda8-ded9cdde9a59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Kích cỡ ly\",\r\n  \"isRequired\": true,\r\n  \"maxChoices\": 1,\r\n  \"choices\": [\r\n    {\r\n      \"name\": \"Size S\",\r\n      \"surcharge\": 0.00\r\n    },\r\n    {\r\n      \"name\": \"Size M\",\r\n      \"surcharge\": 5000.00\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/option-group","urlObject":{"protocol":"http","port":"8080","path":["api","option-group"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a5a58b56-c0f6-47fa-bda8-ded9cdde9a59"},{"name":"update option group","id":"cdc81380-8040-4ced-814a-26e34c141928","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Kích cỡ ly\",\r\n  \"isRequired\": true,\r\n  \"maxChoices\": 14\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/option-group/1","urlObject":{"protocol":"http","port":"8080","path":["api","option-group","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"cdc81380-8040-4ced-814a-26e34c141928"},{"name":"update dish","id":"cb3fbb5a-61f0-4b48-8837-e0ef4c432275","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Kích cỡ ly\",\r\n  \"isRequired\": true,\r\n  \"maxChoices\": 14\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/option-group/1","urlObject":{"protocol":"http","port":"8080","path":["api","option-group","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"cb3fbb5a-61f0-4b48-8837-e0ef4c432275"},{"name":"update option choice","id":"e784f271-9890-4837-bb89-52788c91ddd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Kích cỡ ly\",\r\n  \"isRequired\": true,\r\n  \"maxChoices\": 14\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/option-group/1","urlObject":{"protocol":"http","port":"8080","path":["api","option-group","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e784f271-9890-4837-bb89-52788c91ddd2"},{"name":"update option choice status","id":"a90e7f38-6e13-4141-abb3-d5815d0149f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"url":"http://localhost:8080/api/option-group/choices/1/status?status=OUT_OF_STOCK","urlObject":{"protocol":"http","port":"8080","path":["api","option-group","choices","1","status"],"host":["localhost"],"query":[{"key":"status","value":"OUT_OF_STOCK"}],"variable":[]}},"response":[],"_postman_id":"a90e7f38-6e13-4141-abb3-d5815d0149f0"},{"name":"update menu item status","id":"5c111982-c868-4f82-bec0-1d2c5ff9a40a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"url":"http://localhost:8080/api/menu/3/status?status=OUT_OF_STOCK","urlObject":{"protocol":"http","port":"8080","path":["api","menu","3","status"],"host":["localhost"],"query":[{"key":"status","value":"OUT_OF_STOCK"}],"variable":[]}},"response":[],"_postman_id":"5c111982-c868-4f82-bec0-1d2c5ff9a40a"},{"name":"inactive user","id":"f8a44710-4856-4b43-a995-0c59b785da7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"url":"http://localhost:8080/api/user/{{user_id}}/inactive","urlObject":{"protocol":"http","port":"8080","path":["api","user","{{user_id}}","inactive"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f8a44710-4856-4b43-a995-0c59b785da7f"},{"name":"find all option groups","id":"41c1462a-e8f2-4379-a930-a584bf0aa9a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Kích cỡ ly\",\r\n  \"isRequired\": true,\r\n  \"maxChoices\": 1,\r\n  \"choices\": [\r\n    {\r\n      \"name\": \"Size S\",\r\n      \"surcharge\": 0.00\r\n    },\r\n    {\r\n      \"name\": \"Size M\",\r\n      \"surcharge\": 5000.00\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/option-group/all","urlObject":{"protocol":"http","port":"8080","path":["api","option-group","all"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"41c1462a-e8f2-4379-a930-a584bf0aa9a3"},{"name":"find all option groups Copy","id":"2ea2bb6e-8069-4318-ad48-2d4788b82d37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Kích cỡ ly\",\r\n  \"isRequired\": true,\r\n  \"maxChoices\": 1,\r\n  \"choices\": [\r\n    {\r\n      \"name\": \"Size S\",\r\n      \"surcharge\": 0.00\r\n    },\r\n    {\r\n      \"name\": \"Size M\",\r\n      \"surcharge\": 5000.00\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/option-group/all","urlObject":{"protocol":"http","port":"8080","path":["api","option-group","all"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2ea2bb6e-8069-4318-ad48-2d4788b82d37"},{"name":"get all users","id":"6e80fd1c-1024-4d90-9e1b-e826478f4171","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"beverage\",\r\n    \"description\": \"drinkable products\"\r\n}"},"url":"http://localhost:8080/api/user?page=0&size=10&sort=desc","urlObject":{"protocol":"http","port":"8080","path":["api","user"],"host":["localhost"],"query":[{"key":"page","value":"0"},{"key":"size","value":"10"},{"key":"sort","value":"desc"}],"variable":[]}},"response":[],"_postman_id":"6e80fd1c-1024-4d90-9e1b-e826478f4171"},{"name":"get users by role or name or both","id":"595a649d-860c-4230-83c5-27a2b14d25ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/user/search?page=0&size=10&name=Admin&role=ADMIN","urlObject":{"protocol":"http","port":"8080","path":["api","user","search"],"host":["localhost"],"query":[{"key":"page","value":"0"},{"key":"size","value":"10"},{"key":"name","value":"Admin"},{"key":"role","value":"ADMIN"}],"variable":[]}},"response":[],"_postman_id":"595a649d-860c-4230-83c5-27a2b14d25ac"}]}