{"info":{"_postman_id":"5171b618-5bd6-4455-a0ff-50bac77ea9b2","name":"VinhHoangCMS_Nghia","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"warehouse import","item":[{"name":"[warehouse import] get all","id":"4a12e9a8-e945-41f9-bcd1-9464460ae89b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"token","value":"a","type":"text"},{"key":"token1","value":"q","type":"text"}],"url":{"raw":"{{url}}:{{port}}/warehouse/import/get_all?warehouse_id=0&start_date=0&end_date=1677293200000&status=0&key&page=2&type=0","host":["{{url}}"],"port":"{{port}}","path":["warehouse","import","get_all"],"query":[{"key":"warehouse_id","value":"0"},{"key":"start_date","value":"0"},{"key":"end_date","value":"1677293200000"},{"key":"status","value":"0"},{"key":"key","value":null},{"key":"page","value":"2"},{"key":"type","value":"0"}]}},"response":[],"_postman_id":"4a12e9a8-e945-41f9-bcd1-9464460ae89b"},{"name":"[warehouse import] add new","id":"a36922a7-fcd2-46be-9926-082ff5c921df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"token","value":"","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"id\":0,\n\t\"warehouse_id\" : 194,\n\t\"import_date\":1577293200000,\n\t\"code\":\"NGHIA001\",\n\t\"type_id\":1,\n\t\"founder\":\"Nghia pham\",\n\t\"reciever\":\"Loc\",\n\t\"note\":\"note\",\n\t\"listproductImport\":[\n\t\t{\n\t\t\t\"product_code\":\"XA0050014\",\n\t\t\t\"agency_code\":\"TAC\",\n\t\t\t\"product_name\":\"NPK PHÚ MỸ 17-15-9 + 10S + TE\",\n\t\t\t\"variation_name\":\"Tấn\",\n\t\t\t\"total_package\":10,\n\t\t\t\"quantity\":100,\n\t\t\t\"note\":\"note\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}:{{port}}/warehouse/import/add_new"},"response":[],"_postman_id":"a36922a7-fcd2-46be-9926-082ff5c921df"},{"name":"[warehouse import] update","id":"fadeec10-7d4c-4df2-b049-3231a3e74282","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"token","value":"","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"1"},{"key":"warehouse_id","value":"1","type":"text"},{"key":"import_date","value":"1","type":"text"},{"key":"code","value":"1","type":"text"},{"key":"type_id","value":"1","type":"text"},{"key":"creator_id","value":"1","type":"text"},{"key":"importerName","value":"1","type":"text"},{"key":"note","value":"1","type":"text"},{"key":"files","type":"file","src":"/C:/Users/anhch/Desktop/FILE NHẬP KHO.xlsx"}]},"url":"{{url}}:{{port}}/warehouse/import/update"},"response":[],"_postman_id":"fadeec10-7d4c-4df2-b049-3231a3e74282"},{"name":"[warehouse import] get detail","id":"42c290be-6e0b-4403-8673-1ae528648d2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"token","value":"","type":"text"}],"url":{"raw":"{{url}}:{{port}}/warehouse/import/detail?id=86","host":["{{url}}"],"port":"{{port}}","path":["warehouse","import","detail"],"query":[{"key":"id","value":"86"}]}},"response":[],"_postman_id":"42c290be-6e0b-4403-8673-1ae528648d2e"},{"name":"[warehouse import] get detail print","id":"36a58d9d-ccfc-49fe-a70d-41e71ffe5b75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"token","type":"text","value":""}],"url":{"raw":"{{url}}:{{port}}/warehouse/import/detail_print?id=68","host":["{{url}}"],"port":"{{port}}","path":["warehouse","import","detail_print"],"query":[{"key":"id","value":"68"}]}},"response":[],"_postman_id":"36a58d9d-ccfc-49fe-a70d-41e71ffe5b75"},{"name":"[warehouse import] export file","id":"9479447f-a3b8-4ef2-8ddf-469463228ce2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"id\":46\n}"},"url":{"raw":"{{url}}:{{port}}/warehouse/import/export_file","host":["{{url}}"],"port":"{{port}}","path":["warehouse","import","export_file"],"query":[{"key":"id","value":"1","disabled":true},{"key":"start_date","value":"1","disabled":true},{"key":"end_date","value":"1","disabled":true},{"key":"status","value":"1","disabled":true},{"key":"key","value":"1","disabled":true}]}},"response":[],"_postman_id":"9479447f-a3b8-4ef2-8ddf-469463228ce2"}],"id":"73c5b99b-a23a-4bac-b30b-4dee141f14e2","_postman_id":"73c5b99b-a23a-4bac-b30b-4dee141f14e2"},{"name":"shipper","item":[{"name":"[shipper] get all","id":"e66a28c3-bd47-4685-8cdf-1031052369ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{url}}:{{port}}/shipper/get_all?warehouse_id=0&status=0&key=&page=1","host":["{{url}}"],"port":"{{port}}","path":["shipper","get_all"],"query":[{"key":"warehouse_id","value":"0"},{"key":"status","value":"0"},{"key":"key","value":""},{"key":"page","value":"1"}]}},"response":[{"id":"ac97bf0d-6ba3-4cfd-a852-013cdc4637c3","name":"[shipper] get all","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}:{{port}}/shipper/get_all?warehouse_id=0&status=1&key=&page=1","host":["{{url}}"],"port":"{{port}}","path":["shipper","get_all"],"query":[{"key":"warehouse_id","value":"0"},{"key":"status","value":"1"},{"key":"key","value":""},{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 23 Dec 2019 03:31:50 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 1,\n    \"data\": {\n        \"shipper\": [\n            {\n                \"id\": 25,\n                \"code\": \"AzBC000100\",\n                \"name\": \" nghia pham\",\n                \"phone\": \"0123\",\n                \"email\": \"nghia.pham@ipicrop.co\",\n                \"image\": [\n                    \"phamnghia.png\"\n                ],\n                \"warehouseName\": \"Admin\",\n                \"status\": 1,\n                \"statusName\": \"Đang hoạt động\"\n            },\n            {\n                \"id\": 24,\n                \"code\": \"ABCD0002\",\n                \"name\": \"nhan\",\n                \"phone\": \"0908567890\",\n                \"email\": \"nhan.do@ipicrop.co\",\n                \"image\": [\n                    \"nhan.do.png\"\n                ],\n                \"warehouseName\": \"Admin\",\n                \"status\": 1,\n                \"statusName\": \"Đang hoạt động\"\n            }\n        ],\n        \"total\": 2,\n        \"size\": 10\n    },\n    \"error\": \"SUCCESS\"\n}"}],"_postman_id":"e66a28c3-bd47-4685-8cdf-1031052369ea"},{"name":"[shipper] detail","id":"0b84b247-d153-4480-9770-16a06d6ed8ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{url}}:{{port}}/shipper/detail?shipper_id=74","host":["{{url}}"],"port":"{{port}}","path":["shipper","detail"],"query":[{"key":"shipper_id","value":"74"}]}},"response":[{"id":"03c146e9-8a41-4e4c-a40d-9cb073edf92e","name":"[shipper] detail","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}:{{port}}/shipper/detail?shipper_id=23","host":["{{url}}"],"port":"{{port}}","path":["shipper","detail"],"query":[{"key":"shipper_id","value":"23"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 23 Dec 2019 03:32:37 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 1,\n    \"data\": {\n        \"shipper\": {\n            \"id\": 23,\n            \"name\": \"nghia\",\n            \"code\": \"ABC0002\",\n            \"phone\": \"0775533677\",\n            \"email\": \"nhan.do@ipicrop.co\",\n            \"cmnd\": \"025617168\",\n            \"address\": \"200 Phan Van Han, p17, Binh Thanh, TPHCM\",\n            \"image\": [\n                \"phamnghia.png\"\n            ],\n            \"contract\": {\n                \"id\": 1,\n                \"numberContract\": \"22322019/HĐLD/VM-PT\",\n                \"start_date\": 1575133200000,\n                \"end_date\": 1582995600000,\n                \"status\": 1,\n                \"warehouse\": {\n                    \"id\": 45,\n                    \"name\": \"YẾN NHƯ\"\n                },\n                \"statusName\": \"Đang hoạt động\"\n            },\n            \"status\": 2\n        }\n    },\n    \"error\": \"SUCCESS\"\n}"}],"_postman_id":"0b84b247-d153-4480-9770-16a06d6ed8ad"},{"name":"[shipper] add new","id":"b3bd6dc6-3123-4761-b2f1-daa085ec5837","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"token","name":"Content-Type","value":"","type":"text"},{"key":"Content-Type","value":""}],"body":{"mode":"raw","raw":"{\n  \"shipper\": {\n      \"id\":0,\n      \"name\":\"testttttttt\",\n      \"code\":\"test122\",\n      \"phone\":\"0012390555\",\n      \"email\":\"test@gmail.com\",\n      \"cmnd\":\"test\",\n      \"address\":\"200 Phan Van Han, p17, Binh Thanh, TPHCM\",\n      \"image\": [\n      \t\"phamnghia.png\"],\n      \"status\":1\n  },\n  \"contract\": {\n      \"id\":0,\n      \"contract_number\":\"abc\",\n      \"start_date\":9876342,\n      \"end_date\":199232993,\n      \"status\":1,\n      \"warehouse_id\":205\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}:{{port}}/shipper/add_new"},"response":[],"_postman_id":"b3bd6dc6-3123-4761-b2f1-daa085ec5837"},{"name":"[shipper] update","id":"606ea3b8-d9ea-4e8d-9155-d71667c09065","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"token","name":"Content-Type","type":"text","value":""},{"key":"Content-Type","value":""}],"body":{"mode":"raw","raw":"{\n  \"shipper\": {\n      \"id\":74,\n      \"name\":\"testttteee\",\n      \"code\":\"test1\",\n      \"phone\":\"0012340055\",\n      \"email\":\"test@gmail.com\",\n      \"cmnd\":\"test\",\n      \"address\":\"200 Phan Van Han, p17, Binh Thanh, TPHCM\",\n      \"image\": [\n      \t\"phamnghia.png\"],\n      \"status\":1\n  },\n  \"contract\": {\n      \"id\":42,\n      \"contract_number\":\"\",\n      \"start_date\":9999876342,\n      \"end_date\":2222199232993,\n      \"status\":1,\n      \"warehouse_id\":205\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}:{{port}}/shipper/update"},"response":[],"_postman_id":"606ea3b8-d9ea-4e8d-9155-d71667c09065"},{"name":"[shipper] update status","id":"430779bf-fc1f-451c-bcff-70c9634dbcef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"token","value":"","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"id\": [\n\t\t36,35 ],\n\t\"status\":0\n}"},"url":"{{url}}:{{port}}/shipper/update_status"},"response":[],"_postman_id":"430779bf-fc1f-451c-bcff-70c9634dbcef"}],"id":"bb1bfcc8-220d-4615-bdc8-99abd08bc016","_postman_id":"bb1bfcc8-220d-4615-bdc8-99abd08bc016"},{"name":"shipper history","item":[{"name":"[shipper history] get all","id":"97308a92-7264-4a26-bdb3-3b9c5d5c4dc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"token","value":"","type":"text"}],"url":{"raw":"{{url}}:{{port}}/shipper/history/get_all?shipper_phone=0987451&start_date=1575173471000&end_date=1577206800000&status=0&key=&page=1","host":["{{url}}"],"port":"{{port}}","path":["shipper","history","get_all"],"query":[{"key":"shipper_phone","value":"0987451"},{"key":"start_date","value":"1575173471000"},{"key":"end_date","value":"1577206800000"},{"key":"status","value":"0"},{"key":"key","value":""},{"key":"page","value":"1"}]}},"response":[{"id":"f029c6d3-c2dc-47ab-82e6-0ee0aecd7e3b","name":"[shipper history] get all","originalRequest":{"method":"GET","header":[{"key":"token","value":"","type":"text"}],"url":{"raw":"{{url}}:{{port}}/shipper/history/get_all?id=1&status=3&key&page=1","host":["{{url}}"],"port":"{{port}}","path":["shipper","history","get_all"],"query":[{"key":"id","value":"1"},{"key":"start_date","value":"1575173471000","disabled":true},{"key":"end_date","value":"1577679071000","disabled":true},{"key":"status","value":"3"},{"key":"key","value":null},{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 24 Dec 2019 04:26:21 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 1,\n    \"data\": {\n        \"shipper\": [\n            {\n                \"id\": 59,\n                \"orderCode\": \"KDFTV24120001\",\n                \"warehouseExportName\": \"CHÁNH NGUYỄN\",\n                \"agencyName\": \"Đại Lý 01\",\n                \"price\": 800000,\n                \"assignDate\": 1577120400000,\n                \"statusName\": \"Đã gán shipper\"\n            },\n            {\n                \"id\": 52,\n                \"orderCode\": \"KDFTV24120001\",\n                \"warehouseExportName\": \"CHÁNH NGUYỄN\",\n                \"agencyName\": \"Đại Lý 01\",\n                \"price\": 800000,\n                \"assignDate\": 1577120400000,\n                \"statusName\": \"Đã gán shipper\"\n            },\n            {\n                \"id\": 45,\n                \"orderCode\": \"KDFTV24120001\",\n                \"warehouseExportName\": \"CHÁNH NGUYỄN\",\n                \"agencyName\": \"Đại Lý 01\",\n                \"price\": 800000,\n                \"assignDate\": 1577120400000,\n                \"statusName\": \"Đã gán shipper\"\n            },\n            {\n                \"id\": 38,\n                \"orderCode\": \"KDFTV24120001\",\n                \"warehouseExportName\": \"CHÁNH NGUYỄN\",\n                \"agencyName\": \"Đại Lý 01\",\n                \"price\": 800000,\n                \"assignDate\": 1577120400000,\n                \"statusName\": \"Đã gán shipper\"\n            },\n            {\n                \"id\": 31,\n                \"orderCode\": \"KDFTV24120001\",\n                \"warehouseExportName\": \"CHÁNH NGUYỄN\",\n                \"agencyName\": \"Đại Lý 01\",\n                \"price\": 800000,\n                \"assignDate\": 1577120400000,\n                \"statusName\": \"Đã gán shipper\"\n            },\n            {\n                \"id\": 24,\n                \"orderCode\": \"KDFTV24120001\",\n                \"warehouseExportName\": \"CHÁNH NGUYỄN\",\n                \"agencyName\": \"Đại Lý 01\",\n                \"price\": 800000,\n                \"assignDate\": 1577120400000,\n                \"statusName\": \"Đã gán shipper\"\n            },\n            {\n                \"id\": 17,\n                \"orderCode\": \"KDFTV24120001\",\n                \"warehouseExportName\": \"CHÁNH NGUYỄN\",\n                \"agencyName\": \"Đại Lý 01\",\n                \"price\": 800000,\n                \"assignDate\": 1577120400000,\n                \"statusName\": \"Đã gán shipper\"\n            },\n            {\n                \"id\": 10,\n                \"orderCode\": \"KDFTV24120001\",\n                \"warehouseExportName\": \"CHÁNH NGUYỄN\",\n                \"agencyName\": \"Đại Lý 01\",\n                \"price\": 800000,\n                \"assignDate\": 1577120400000,\n                \"statusName\": \"Đã gán shipper\"\n            }\n        ],\n        \"total\": 8,\n        \"size\": 10\n    },\n    \"error\": \"SUCCESS\"\n}"}],"_postman_id":"97308a92-7264-4a26-bdb3-3b9c5d5c4dc4"},{"name":"[shipper history] get detail","id":"937e27b0-5189-4ec3-9d5f-76bd73fa1dcd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{url}}:{{port}}/shipper/history/detail?order_code_child=KDFTV24120001","host":["{{url}}"],"port":"{{port}}","path":["shipper","history","detail"],"query":[{"key":"order_code_child","value":"KDFTV24120001"}]}},"response":[],"_postman_id":"937e27b0-5189-4ec3-9d5f-76bd73fa1dcd"}],"id":"d41283fb-7f27-455f-8c80-fc32744a6216","_postman_id":"d41283fb-7f27-455f-8c80-fc32744a6216"},{"name":"warehouse export","item":[{"name":"[warehouse export] export file detail","id":"0d08a3fa-cd71-41b7-a951-dd393b54a927","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"token","value":"","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"id\":16\n}"},"url":"{{url}}:{{port}}/warehouse/export/export_file"},"response":[],"_postman_id":"0d08a3fa-cd71-41b7-a951-dd393b54a927"},{"name":"[warehouse export] add new ","id":"579ebb7d-b4f2-4439-9e56-0eeb41db15ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"token","value":"","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"id\":0,\n\t\"warehouse_id\" : 199,\n\t\"warehouse_reciever\": 201,\n\t\"import_date\":1583885156000,\n\t\"code\":\"Nghi09m\",\n\t\"type_id\":2,\n\t\"founder\":\"Nghi09m\",\n\t\"reciever\":\"Nghi09m\",\n\t\"note\":\"Nghi09m\",\n\t\"listproductExport\":[\n\t\t{\n\t\t\t\"product_code\":\"XA0050014\",\n\t\t\t\"agency_code\":\"ABC12z3456\",\n\t\t\t\"product_name\":\"Phân bón lá sinh học A4\",\n\t\t\t\"variation_name\":\"Bao\",\n\t\t\t\"total_package\":10,\n\t\t\t\"quantity\":100,\n\t\t\t\"note\":\"note\"\n\t\t}\t\n\t\t\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}:{{port}}/warehouse/import/add_new_export"},"response":[],"_postman_id":"579ebb7d-b4f2-4439-9e56-0eeb41db15ee"},{"name":"[warehouse export] get detail print","id":"18cc87db-cb84-4137-b1af-9d698049d035","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{url}}:{{port}}/warehouse/export/detail_print?id=16","host":["{{url}}"],"port":"{{port}}","path":["warehouse","export","detail_print"],"query":[{"key":"id","value":"16"}]}},"response":[],"_postman_id":"18cc87db-cb84-4137-b1af-9d698049d035"},{"name":"[warehouse export] get All","id":"76caf2d4-3e1c-47fc-8f78-cc4622830773","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{url}}:{{port}}/warehouse/export/get_all?user_id=1&warehouse_id=0&from_date=1571702400000&to_date=1583686800000&type=0&page=1&keyword=","host":["{{url}}"],"port":"{{port}}","path":["warehouse","export","get_all"],"query":[{"key":"user_id","value":"1"},{"key":"warehouse_id","value":"0"},{"key":"from_date","value":"1571702400000"},{"key":"to_date","value":"1583686800000"},{"key":"type","value":"0"},{"key":"page","value":"1"},{"key":"keyword","value":""}]}},"response":[],"_postman_id":"76caf2d4-3e1c-47fc-8f78-cc4622830773"},{"name":"[warehouse inventory] get All","id":"5a879373-ba32-4364-b9fd-e4f102162cb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{url}}:{{port}}/warehouse/inventory/get_all?user_id=1&warehouse_type=0&type_product=0&category_id=0&page=1&fromDate=1582995600000&keyword=14","host":["{{url}}"],"port":"{{port}}","path":["warehouse","inventory","get_all"],"query":[{"key":"user_id","value":"1"},{"key":"warehouse_type","value":"0"},{"key":"type_product","value":"0"},{"key":"category_id","value":"0"},{"key":"page","value":"1"},{"key":"fromDate","value":"1582995600000"},{"key":"keyword","value":"14"}]}},"response":[],"_postman_id":"5a879373-ba32-4364-b9fd-e4f102162cb2"}],"id":"e31703c6-458e-4cb5-9c12-b03c3377e068","_postman_id":"e31703c6-458e-4cb5-9c12-b03c3377e068"},{"name":"sale man","item":[{"name":"[saleman] add new sale man","id":"b8f7304a-3a5f-4460-add1-53e540baf4ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n\"sale_name\": \"azx\",\r\n\"gender\": 0,\r\n\"sale_phone\": \"11111\",\r\n\"sale_email\": \"test@gmail.com\",\r\n\"sale_address\": \"test\",\r\n\"id_contract\": \"test\",\r\n\"identity_card_number\": \"123423\",\r\n\"sale_code\": \"TEST\",\r\n\"password\": \"123456\",\r\n\"create_contract_date\": 0,\r\n\"end_contract_date\": 0,\r\n\"status\": 1,\r\n\"avatar\": \"1585048151633872.png\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}:{{port}}/saleman/add_new_saleman","host":["{{url}}"],"port":"{{port}}","path":["saleman","add_new_saleman"],"query":[{"key":"data","type":"text","value":"{\"start_date\":1575651599000,\"end_date\":1575651600000,\"status\":0,\"key\":\"ZXC123457\",\"page\":1}","disabled":true}]}},"response":[],"_postman_id":"b8f7304a-3a5f-4460-add1-53e540baf4ce"}],"id":"f0124a7f-fb89-4a70-92d0-8c66313b60ee","_postman_id":"f0124a7f-fb89-4a70-92d0-8c66313b60ee"},{"name":"[warehouse] add new","id":"43c850f9-adba-4595-9f04-5425ac7adab7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"token","value":" ","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\":\"test\",\r\n  \"code\":\"test\",\r\n  \"phone\":\"098786552\",\r\n  \"email\":\"abc@gmail.com\",\r\n  \"address\":\"abc\",\r\n  \"representative_name\":\"abc\",\r\n  \"status\":1,\r\n  \"warehouse_type\":1,\r\n  \"listCityId\":[\r\n    1],\r\n  \"listDistrictId\":[544]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}:{{port}}/warehouse/add_new","host":["{{url}}"],"port":"{{port}}","path":["warehouse","add_new"],"query":[{"key":"","type":"text","value":"","disabled":true}]}},"response":[],"_postman_id":"43c850f9-adba-4595-9f04-5425ac7adab7"},{"name":"[warehouse] get list region empty","id":"4ccea284-c3a5-466e-91fd-4321945e94f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"data","type":"text","value":"{\n  \"id\": 0,\n  \"supplierCode\": \"TEST00005\",\n  \"address\": \"TEST00004\",\n  \"avatar\": [\"TEST00004.jpg\"],\n  \"supplierName\": \"TEST00004\",\n  \"phone\": \"09638527499\",\n  \"cityID\": 1,\n  \"districtID\": 547,\n  \"email\": \"TEST0010\",\n  \"firstName\": null,\n  \"lastName\": null,\n  \"contractReq\": {\n    \"status\": 1,\n    \"id\": 0,\n    \"supplierID\": \"0\",\n    \"numberContract\": \"TEST0010\",\n    \"companyName\": \"TEST00004\",\n    \"companyOnwer\": \"TEST00004\",\n    \"taxtNumber\": \"TEST00004\",\n    \"idCard\": \"TEST00004\",\n    \"adddressContract\": \"TEST00004\",\n    \"addressCompany\": \"TEST00004\",\n    \"dateBegin\": 1570268323000,\n    \"dateEnd\": 1577441124000\n  }\n}"},{"key":"","type":"text","value":"","disabled":true}]},"url":{"raw":"{{url}}:{{port}}/warehouse/get_list_region_empty?supplier_id=0&user_id=0","host":["{{url}}"],"port":"{{port}}","path":["warehouse","get_list_region_empty"],"query":[{"key":"supplier_id","value":"0"},{"key":"user_id","value":"0"}]}},"response":[],"_postman_id":"4ccea284-c3a5-466e-91fd-4321945e94f1"},{"name":"[app] login","id":"a378c349-0395-4fc1-8440-67b73346bea5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"mrtran","type":"text"},{"key":"password","value":"123456","type":"text"}]},"url":"{{url}}:{{port}}/user/login"},"response":[],"_postman_id":"a378c349-0395-4fc1-8440-67b73346bea5"},{"name":"[supplier] add new","id":"f45b9b63-ddae-4d8c-9da7-4c2199015cb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"data","type":"text","value":"{\n  \"id\": 0,\n  \"supplierCode\": \"addnew\",\n  \"address\": \"11\",\n  \"avatar\": [\"abc.png\"],\n  \"supplierName\": \"addnew\",\n  \"phone\": \"0989896775\",\n  \"cityID\": 1,\n  \"districtID\": 544,\n  \"email\": \"abc@gmail.com\",\n  \"status\": 1,\n  \"contractReq\":{\n    \"status\":1,\n    \"id\":0,\n    \"numberContract\":\"\",\n    \"companyName\":\"\",\n    \"companyOnwer\":\"\",\n    \"taxtNumber\":\"\",\n    \"idCard\":\"\",\n    \"adddressContract\":\"\",\n    \"addressCompany\":\"\",\n    \"dateBegin\":1515085200000,\n    \"dateEnd\":1736010000000}\n  \n}"},{"key":"","type":"text","value":"","disabled":true}]},"url":{"raw":"{{url}}:{{port}}/supplier/add_new","host":["{{url}}"],"port":"{{port}}","path":["supplier","add_new"],"query":[{"key":"","value":"","type":"text","disabled":true}]}},"response":[],"_postman_id":"f45b9b63-ddae-4d8c-9da7-4c2199015cb8"},{"name":"[supplier] add new contract","id":"22aaf0a5-6ed5-4ea1-b80a-46f079e9d809","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"data","type":"text","value":"{\n  \"status\": 1,\n  \"id\": 0,\n  \"supplierID\": 1,\n  \"numberContract\": \"0353124747\",\n  \"companyName\": \"IPI\",\n  \"companyOnwer\": \"Nghia Pham\",\n  \"taxtNumber\": \"2783799089\",\n  \"idCard\": \"2323232222\",\n  \"adddressContract\": \"200 Phan Van Han\",\n  \"addressCompany\": \"200 Phan Van Han\",\n  \"dateBegin\": 1574823047000,\n  \"dateEnd\": 1574823062000\n}"}]},"url":"{{url}}:{{port}}/supplier/add_new_contract"},"response":[],"_postman_id":"22aaf0a5-6ed5-4ea1-b80a-46f079e9d809"},{"name":"[supplier] update","id":"15550ae9-fbd2-4a7e-9717-048080fedbac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"data","type":"text","value":"{\n  \"id\": 31,\n  \"supplierCode\": \"nghaitesst\",\n  \"address\": \"123123\",\n  \"avatar\": [\n    \"\"\n  ],\n  \"supplierName\": \"nghia test\",\n  \"phone\": \"1231231233\",\n  \"cityID\": 49,\n  \"districtID\": 538,\n  \"email\": \"phamnghiacr98@gmail.com\",\n  \"status\": 1,\n  \"contractReq\": {\n    \"numberContract\":\"mammmmmmma\",\n    \"dateEnd\": 3133869200000,\n    \"dateBegin\": 1585501200000,\n    \"status\": 1,\n    \"id\": 139\n  }\n}"},{"key":"password","type":"text","value":"123456","disabled":true}]},"url":"{{url}}:{{port}}/supplier/update"},"response":[],"_postman_id":"15550ae9-fbd2-4a7e-9717-048080fedbac"},{"name":"[supplier] get all","id":"07e75fa4-2463-4195-889a-228ed1f21f18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","type":"text","value":"mrtran"},{"key":"password","type":"text","value":"123456"}]},"url":{"raw":"{{url}}:{{port}}/supplier/get_all?status=0&page=1&city_id=0&district_id=0&key=","host":["{{url}}"],"port":"{{port}}","path":["supplier","get_all"],"query":[{"key":"status","value":"0"},{"key":"page","value":"1"},{"key":"city_id","value":"0"},{"key":"district_id","value":"0"},{"key":"key","value":""}]}},"response":[],"_postman_id":"07e75fa4-2463-4195-889a-228ed1f21f18"},{"name":"[supplier] get detail","id":"1c9eab0e-d953-432e-8dd4-6d0c1cb48484","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","type":"text","value":"mrtran"},{"key":"password","type":"text","value":"123456"}]},"url":{"raw":"{{url}}:{{port}}/supplier/detail?supplier_id=14","host":["{{url}}"],"port":"{{port}}","path":["supplier","detail"],"query":[{"key":"supplier_id","value":"14"}]}},"response":[],"_postman_id":"1c9eab0e-d953-432e-8dd4-6d0c1cb48484"},{"name":"[order] get all","id":"e670f2ae-0e10-4bd7-b3dd-63eb363efb4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}:{{port}}/order/get_all?start_date=1506515600000&end_date=1676688400000&page=2&key=KDFT&status=0","host":["{{url}}"],"port":"{{port}}","path":["order","get_all"],"query":[{"key":"start_date","value":"1506515600000"},{"key":"end_date","value":"1676688400000"},{"key":"page","value":"2"},{"key":"data","value":"{\"start_date\":1575651599000,\"end_date\":1575651600000,\"status\":0,\"key\":\"ZXC123457\",\"page\":1}","type":"text","disabled":true},{"key":"key","value":"KDFT"},{"key":"status","value":"0"}]}},"response":[],"_postman_id":"e670f2ae-0e10-4bd7-b3dd-63eb363efb4f"},{"name":"[order] get detail","id":"2d492494-c72b-432d-b6fe-45fa34b6f41f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","type":"text","value":"mrtran"},{"key":"password","type":"text","value":"123456"}]},"url":{"raw":"{{url}}:{{port}}/order/detail?order_id=2","host":["{{url}}"],"port":"{{port}}","path":["order","detail"],"query":[{"key":"order_id","value":"2"}]}},"response":[],"_postman_id":"2d492494-c72b-432d-b6fe-45fa34b6f41f"},{"name":"[order] get status","id":"b8605f32-a499-4d28-aaaf-2089e9e9b5f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","type":"text","value":"mrtran"},{"key":"password","type":"text","value":"123456"}]},"url":"{{url}}:{{port}}/order/get_status"},"response":[],"_postman_id":"b8605f32-a499-4d28-aaaf-2089e9e9b5f6"},{"name":"[supplier] update contract","id":"3e073320-a7ef-447a-bb25-3180a3be1d28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"data","value":"{\n  \"status\": 1,\n  \"id\": 7,\n  \"supplierID\": 1,\n  \"numberContract\": \"0353124747\",\n  \"companyName\": \"IPI\",\n  \"companyOnwer\": \"Nghia Phammm\",\n  \"taxtNumber\": \"2783799089\",\n  \"idCard\": \"2323232222\",\n  \"adddressContract\": \"200 Phan Van Han\",\n  \"addressCompany\": \"200 Phan Van Han\",\n  \"dateBegin\": 1574823047000,\n  \"dateEnd\": 1574823062000\n}","type":"text"}]},"url":"{{url}}:{{port}}/supplier/update_contract"},"response":[],"_postman_id":"3e073320-a7ef-447a-bb25-3180a3be1d28"},{"name":"[stock] get all","id":"ec598e27-7811-4d68-865b-61be28eed67d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"mrtran","type":"text"},{"key":"password","value":"123456","type":"text"}]},"url":{"raw":"{{url}}:{{port}}/stock/get_all?status=0&page=1","host":["{{url}}"],"port":"{{port}}","path":["stock","get_all"],"query":[{"key":"status","value":"0"},{"key":"page","value":"1"}]}},"response":[],"_postman_id":"ec598e27-7811-4d68-865b-61be28eed67d"},{"name":"[stock] add new","id":"a9bcc5e2-9de3-41a7-906b-7a8107288fbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"data","value":"{\n  \"status\": 1,\n  \"id\": 0,\n  \"name\": \"IPI\",\n  \"stockCode\": \"ABC12367\",\n  \"address\": \"200 Phan Van Han\",\n  \"phone\": \"0353124747\",\n  \"email\": \"nghia@gmail.com\",\n  \"type\": 1,\n  \"owner\": \"IPI\",\n  \"cityId\": 1,\n  \"districtId\":549,\n  \"wardId\":9255\n}","type":"text"}]},"url":"{{url}}:{{port}}/stock/add_new"},"response":[],"_postman_id":"a9bcc5e2-9de3-41a7-906b-7a8107288fbd"},{"name":"[stock] get detail","id":"41bc81b7-0156-4828-9cf2-2439aac4d4f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"mrtran","type":"text"},{"key":"password","value":"123456","type":"text"}]},"url":{"raw":"{{url}}:{{port}}/stock/detail?stock_id=5","host":["{{url}}"],"port":"{{port}}","path":["stock","detail"],"query":[{"key":"stock_id","value":"5"}]}},"response":[],"_postman_id":"41bc81b7-0156-4828-9cf2-2439aac4d4f4"},{"name":"[order] assignedStock","id":"102d4e8b-58ca-4abb-8bd2-9853c71eb589","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"mrtran","type":"text"},{"key":"password","value":"123456","type":"text"}]},"url":{"raw":"{{url}}:{{port}}/order/assigned_stock?stock_id=5&order_id=1","host":["{{url}}"],"port":"{{port}}","path":["order","assigned_stock"],"query":[{"key":"stock_id","value":"5"},{"key":"order_id","value":"1"}]}},"response":[],"_postman_id":"102d4e8b-58ca-4abb-8bd2-9853c71eb589"},{"name":"[stock] update","id":"d0f52c49-b19b-4a2b-9845-fdca07bbf18a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"data","value":"{\n  \"status\": 1,\n  \"id\": 5,\n  \"name\": \"IPI\",\n  \"stockCode\": \"ABC12367\",\n  \"address\": \"200 Phan Van Han\",\n  \"phone\": \"0353124747\",\n  \"email\": \"nghia98@gmail.com\",\n  \"type\": 1,\n  \"owner\": \"IPI\",\n  \"cityId\": 1,\n  \"districtId\":549,\n  \"wardId\":9255\n}","type":"text"}]},"url":"{{url}}:{{port}}/stock/update"},"response":[],"_postman_id":"d0f52c49-b19b-4a2b-9845-fdca07bbf18a"},{"name":"[product] get all product brand","id":"dcef7c4d-2be9-4f95-a6b0-19b85b69bc3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"mrtran","type":"text"},{"key":"password","value":"123456","type":"text"}]},"url":{"raw":"{{url}}:{{port}}/product/get_all_product_brand?page=1","host":["{{url}}"],"port":"{{port}}","path":["product","get_all_product_brand"],"query":[{"key":"page","value":"1","type":"text"}]}},"response":[],"_postman_id":"dcef7c4d-2be9-4f95-a6b0-19b85b69bc3a"},{"name":"[product] get detail product brand","id":"d65d1927-11c2-4203-84bb-06c3d9a92596","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"mrtran","type":"text"},{"key":"password","value":"123456","type":"text"}]},"url":{"raw":"{{url}}:{{port}}/product/get_detail_product_brand?productBrand_id=1","host":["{{url}}"],"port":"{{port}}","path":["product","get_detail_product_brand"],"query":[{"key":"productBrand_id","value":"1"}]}},"response":[],"_postman_id":"d65d1927-11c2-4203-84bb-06c3d9a92596"},{"name":"[stock] filter type and city","id":"22942886-93b9-4c92-b0fe-349ec2b0559a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"mrtran","type":"text"},{"key":"password","value":"123456","type":"text"}]},"url":{"raw":"{{url}}:{{port}}/stock/filter?type_id=1&city_id=1&page=1","host":["{{url}}"],"port":"{{port}}","path":["stock","filter"],"query":[{"key":"type_id","value":"1"},{"key":"city_id","value":"1"},{"key":"page","value":"1"}]}},"response":[],"_postman_id":"22942886-93b9-4c92-b0fe-349ec2b0559a"},{"name":"[product] get all","id":"e425bc9b-6374-4d81-bc72-08d30a0e300a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{url}}:{{port}}/product/get_all?page=1&status=0&key=&category_id=2","host":["{{url}}"],"port":"{{port}}","path":["product","get_all"],"query":[{"key":"page","value":"1"},{"key":"status","value":"0"},{"key":"key","value":""},{"key":"category_id","value":"2"}]}},"response":[],"_postman_id":"e425bc9b-6374-4d81-bc72-08d30a0e300a"},{"name":"[product] assigned_group","id":"0e1c0def-a077-40cf-953e-01b0f13b246d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"mrtran","type":"text"},{"key":"password","value":"123456","type":"text"}]},"url":{"raw":"{{url}}:{{port}}/product/assigned_group?product_id=1&group_id=6","host":["{{url}}"],"port":"{{port}}","path":["product","assigned_group"],"query":[{"key":"product_id","value":"1"},{"key":"group_id","value":"6"}]}},"response":[],"_postman_id":"0e1c0def-a077-40cf-953e-01b0f13b246d"},{"name":"[product] add new","id":"96940ec7-5385-4311-8987-7327f5f6955f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"username","value":"mrtran","type":"text"},{"key":"password","value":"123456","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"id\":0,\"productCode\":\"nghia\",\"productName\":\"nghia\",\"typeId\":1,\"categoryId\":1,\"attributeIdMin\":1,\"quantityMin\":1,\"attributeIdMax\":3,\"quantityMax\":1000,\"priceMin\":1000,\"priceMax\":1000000,\"distributorOffer\":5,\"image\":[\"1585224333732613.jpg\"]}","options":{"raw":{"language":"json"}}},"url":"{{url}}:{{port}}/product/add_new"},"response":[],"_postman_id":"96940ec7-5385-4311-8987-7327f5f6955f"},{"name":"[cities] get all","id":"49cfa996-dc1e-48cd-b996-a4f4d73e046c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"mrtran","type":"text"},{"key":"password","value":"123456","type":"text"}]},"url":{"raw":"{{url}}:{{port}}/cities/get_all?key=giang","host":["{{url}}"],"port":"{{port}}","path":["cities","get_all"],"query":[{"key":"key","value":"giang"}]}},"response":[],"_postman_id":"49cfa996-dc1e-48cd-b996-a4f4d73e046c"},{"name":"[districts] get list by city","id":"3f65fcdb-f4d3-49dc-b6a2-ac7a5fe21855","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{url}}:{{port}}/districts/get_list_by_city?city_id=5&key=","host":["{{url}}"],"port":"{{port}}","path":["districts","get_list_by_city"],"query":[{"key":"city_id","value":"5"},{"key":"key","value":""}]}},"response":[],"_postman_id":"3f65fcdb-f4d3-49dc-b6a2-ac7a5fe21855"},{"name":"[brand category] get all Root","id":"368080ad-d0bd-4e27-9bdb-397f9512eab5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":{"raw":"{{url}}:{{port}}/brand_category/get_all_root?status=1","host":["{{url}}"],"port":"{{port}}","path":["brand_category","get_all_root"],"query":[{"key":"status","value":"1"}]}},"response":[],"_postman_id":"368080ad-d0bd-4e27-9bdb-397f9512eab5"},{"name":"[brand category] get list sub brand category","id":"d583bd78-961d-42d5-bc3c-298c65d639c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{url}}:{{port}}/brand_category/get_list_sub_product_brand_category?parent_id=1","host":["{{url}}"],"port":"{{port}}","path":["brand_category","get_list_sub_product_brand_category"],"query":[{"key":"parent_id","value":"1"}]}},"response":[],"_postman_id":"d583bd78-961d-42d5-bc3c-298c65d639c2"},{"name":"[brand category] get all","id":"1c53b620-b3c4-40e8-8a76-984225b224ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{url}}:{{port}}/brand_category/get_all?status=1&page=1&key=","host":["{{url}}"],"port":"{{port}}","path":["brand_category","get_all"],"query":[{"key":"status","value":"1"},{"key":"page","value":"1"},{"key":"key","value":""}]}},"response":[],"_postman_id":"1c53b620-b3c4-40e8-8a76-984225b224ab"},{"name":"[brand category] search","id":"6f11f40a-e3a7-41ff-ab67-8bb61467b2de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{url}}:{{port}}/brand_category/search?status=1&page=1&key=abc","host":["{{url}}"],"port":"{{port}}","path":["brand_category","search"],"query":[{"key":"status","value":"1"},{"key":"page","value":"1"},{"key":"key","value":"abc","type":"text"}]}},"response":[],"_postman_id":"6f11f40a-e3a7-41ff-ab67-8bb61467b2de"},{"name":"[brand category] get detail","id":"58a8e910-91c5-4863-a06f-64f8dd07b818","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{url}}:{{port}}/brand_category/get_detail?category_id=39","host":["{{url}}"],"port":"{{port}}","path":["brand_category","get_detail"],"query":[{"key":"category_id","value":"39"}]}},"response":[],"_postman_id":"58a8e910-91c5-4863-a06f-64f8dd07b818"},{"name":"[brand category] add new","id":"0bb26f3b-36e5-4467-8431-0d02d2402e76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"data","value":"{\n  \"id\" :0,\n  \"name\" :\"test001\",\n  \"code\" :\"TEST001\",   \n  \"parent_id\": 1,\n  \"status\":0,\n  \"image\" : [\n    \"test001.png\"]\n\n}","type":"text"}]},"url":"{{url}}:{{port}}/brand_category/add_new"},"response":[],"_postman_id":"0bb26f3b-36e5-4467-8431-0d02d2402e76"},{"name":"[brand category] update","id":"7891ed97-f22e-48aa-a497-53f98703df7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"data","value":"{\n  \"id\" :6 ,\n  \"name\" :\"KHÁC\",\n  \"code\" :\"SH0000006\",\n  \"parent_id\": 1,\n  \"status\":1,\n  \"image\" : [\n    \"phanchuonggg.png\"]\n\n}","type":"text"}]},"url":"{{url}}:{{port}}/brand_category/update"},"response":[],"_postman_id":"7891ed97-f22e-48aa-a497-53f98703df7f"},{"name":"[brand category] update status","id":"0013070d-90be-4b2e-b48b-40f3d4afe5af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"id\":[\n\t\t1,\n\t\t2],\n\t\"status\":1\n}"},"url":"{{url}}:{{port}}/brand_category/update_status"},"response":[],"_postman_id":"0013070d-90be-4b2e-b48b-40f3d4afe5af"},{"name":"[order] update status","id":"f6753b75-f14f-4d13-9b3a-20d3f356e611","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"id\" : [\n\t\t264],\n\t\"status\" : 13\n}"},"url":"{{url}}:{{port}}/order/update_status"},"response":[],"_postman_id":"f6753b75-f14f-4d13-9b3a-20d3f356e611"},{"name":"[order] search","id":"e97ccd2f-7fb8-4edc-bcb2-ee86a4c84fea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{url}}:{{port}}/order/search?status=0&page=1&key=ABC","host":["{{url}}"],"port":"{{port}}","path":["order","search"],"query":[{"key":"status","value":"0"},{"key":"page","value":"1"},{"key":"key","value":"ABC"}]}},"response":[],"_postman_id":"e97ccd2f-7fb8-4edc-bcb2-ee86a4c84fea"},{"name":"[supplier] filter","id":"212041d1-51a3-4929-ac0a-1994fd1ff814","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{url}}:{{port}}/supplier/filter?status=0&page=1&city_id=1&district_id=0","host":["{{url}}"],"port":"{{port}}","path":["supplier","filter"],"query":[{"key":"status","value":"0"},{"key":"page","value":"1"},{"key":"city_id","value":"1"},{"key":"district_id","value":"0"}]}},"response":[],"_postman_id":"212041d1-51a3-4929-ac0a-1994fd1ff814"},{"name":"[supplier] search","id":"bf2db38e-ceab-496f-a286-12bf6f756fe1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{url}}:{{port}}/supplier/search?status=0&page=1&key=AB","host":["{{url}}"],"port":"{{port}}","path":["supplier","search"],"query":[{"key":"status","value":"0"},{"key":"page","value":"1"},{"key":"key","value":"AB"}]}},"response":[],"_postman_id":"bf2db38e-ceab-496f-a286-12bf6f756fe1"},{"name":"[supplier] update status","id":"d34c062e-9daa-4838-958f-0f852076bff1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"id\" : [\n\t\t5397],\n\t\"status\" : -1\n}"},"url":"{{url}}:{{port}}/supplier/update_status"},"response":[],"_postman_id":"d34c062e-9daa-4838-958f-0f852076bff1"},{"name":"[order] export","id":"362b9c03-07a2-4e53-ac60-75c7536d919e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{ \n\"start_date\":1575651599000,\n\"end_date\":1575651600000\n}"},"url":"{{url}}:{{port}}/order/export"},"response":[],"_postman_id":"362b9c03-07a2-4e53-ac60-75c7536d919e"},{"name":"[product] get list product type","id":"58c17248-159a-4fa4-87a5-eb6eb9924b77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}:{{port}}/product/get_list_product_type"},"response":[],"_postman_id":"58c17248-159a-4fa4-87a5-eb6eb9924b77"},{"name":"[product] get list cate by type","id":"a9c6fef5-6841-4bf8-9574-cb24ac259300","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{url}}:{{port}}/product/get_list_cate?product_type_id=1","host":["{{url}}"],"port":"{{port}}","path":["product","get_list_cate"],"query":[{"key":"product_type_id","value":"1","type":"text"}]}},"response":[],"_postman_id":"a9c6fef5-6841-4bf8-9574-cb24ac259300"},{"name":"[product] detail","id":"cacc543e-0b4c-4118-b950-b51798972b5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"token","value":"","type":"text"}],"url":{"raw":"{{url}}:{{port}}/product/detail?product_id=277&token","host":["{{url}}"],"port":"{{port}}","path":["product","detail"],"query":[{"key":"product_id","value":"277"},{"key":"token","value":null}]}},"response":[],"_postman_id":"cacc543e-0b4c-4118-b950-b51798972b5c"},{"name":"[product] update","id":"aec60eb1-10c3-4b24-991d-025ae934173e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":" { \r\n      \"id\":277,\r\n      \"productCode\":\"NED123z\",\r\n      \"productName\":\"nghiaaaaaaa\",\r\n      \"status\":1,\r\n      \"typeId\":1,\r\n      \"categoryId\":1,\r\n      \"attributeIdMin\": 1,\r\n      \"quantityMin\":1,\r\n      \"attributeIdMax\":3,\r\n      \"quantityMax\":50,\r\n      \"priceMin\":50000,\r\n      \"priceMax\":6900000,\r\n      \"distributorOffer\":0.1,\r\n      \"uses\":\"\",\r\n      \"element\":\"\",\r\n      \"manual\":\"\",\r\n      \"note\":\"\",\r\n      \"image\": [\r\n    \t\"nghia.png\"]\r\n }"},"url":"{{url}}:{{port}}/product/update"},"response":[],"_postman_id":"aec60eb1-10c3-4b24-991d-025ae934173e"},{"name":"[product] update status","id":"6e2fa881-7eba-45f6-9f22-67cbf5c0f2be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"id\": [\n\t\t113],\n\t\"status\":-1\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}:{{port}}/product/update_status"},"response":[],"_postman_id":"6e2fa881-7eba-45f6-9f22-67cbf5c0f2be"}]}