{"info":{"_postman_id":"80e9f8ef-d55d-1b62-6405-a072c4290efb","name":"Admin Portal","description":"Endpoint calls for the Admin Portal feature. This includes calls to create accounts, agents, account features. This also includes calls to modify data, such as to add locales, market regions, localities, etc. ","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"Create (New account)","item":[{"name":"Create Account in Okta","id":"bc807f4a-643c-7a39-445c-d83d23cd618f","request":{"auth":{"type":"bearer","bearer":{"token":"eyJraWQiOiJsMVI1T204Q0ljemowcTRDWnlNVUV3SENjVUpuZTRmSktJTUhrdGxXUkVVIiwiYWxnIjoiUlMyNTYifQ.eyJ2ZXIiOjEsImp0aSI6IkFULnhOWGo3NTQxanJpbFFmY2txUXBDT3M4OVB1YVdOQm9mSXFQaXhUa3pHMHMiLCJpc3MiOiJodHRwczovL2Rldi04Mzk1NTMub2t0YXByZXZpZXcuY29tL29hdXRoMi9kZWZhdWx0IiwiYXVkIjoiYXBpOi8vZGVmYXVsdCIsImlhdCI6MTUyNjY2MjE1NSwiZXhwIjoxNTI2NjY1NzU1LCJjaWQiOiIwb2FldHJhcmpnbXpmZGl2VzBoNyIsInVpZCI6IjAwdWV6dWwyODRGNkRsNTJlMGg3Iiwic2NwIjpbIm9wZW5pZCIsImVtYWlsIl0sInN1YiI6Ik1hbGVUb2VAbWFpbGluYXRvci5jb20ifQ.UFRiIleTQbZM2W4SPzF0g24Z7c-UbOXJIHXOyppdCSvML2oHTla87Cxj4pe8eD725YJkvqXWuDAovfW5syzqlyJifCjvJb831dFL6uZNWtTiN3SxSPWbSIudzCU0t_V7KDKY79C7f_hC-J-g1nlgBPFBkToSN3NNtqQhl5QLh9DUcFnNHtlR2Cm-pWY3LKDjSPWnUfY8gOcY-G91QBPtbevo_KULyHWUsoQGszfc18XDGaCikvxo76lkzVb3nslGKLpStssse98zl9AqMjjFptP9S8nnyfPJszucw0W0TvWN8IkDhp0UPf1QU5s3sAUB8oIzlj4VK44g4aDQOgRpZw"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"profile\": {\n    \"firstName\": \"Isaac\",\n    \"lastName\": \"Brock\",\n    \"email\": \"2valdemir@fmv13ahtmbvklgvhsc.ml\",\n    \"login\": \"2valdemir@fmv13ahtmbvklgvhsc.ml\"\n  },\n  \"credentials\": {\n    \"password\" : { \"value\": \"12345\" },\n    \"recovery_question\": {\n      \"question\": \"Who's the best champion in league?\",\n      \"answer\": \"Akali\"\n    }\n  },\n \"agent\": {\n        \"id\": \"54321\"\n    }\n}"},"url":"http://localhost:3001/admin/create/submit"},"response":[],"_postman_id":"bc807f4a-643c-7a39-445c-d83d23cd618f"},{"name":"Fetch initial data load for dropdown menus","id":"ca2d4d21-c284-64a3-6f9b-495c6b221bed","request":{"auth":{"type":"noauth"},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:3001/admin/create/static/setup"},"response":[],"_postman_id":"ca2d4d21-c284-64a3-6f9b-495c6b221bed"},{"name":"Create Cannabis Business Account Step 1","id":"876002da-8470-b1ce-e7b3-87015464ffe7","request":{"auth":{"type":"noauth"},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"http://localhost:3001/admin/create/submit/cannabis-business-step-1?account_type_id=020-z-ac-ty-0000003&account_subtype_id=&account_name=Dis Test - test&account_name_alias=Dis 1 - test&locale_id=020-z-lo-0000001","protocol":"http","host":["localhost"],"port":"3001","path":["admin","create","submit","cannabis-business-step-1"],"query":[{"key":"account_type_id","value":"020-z-ac-ty-0000003"},{"key":"account_subtype_id","value":""},{"key":"account_name","value":"Dis Test - test"},{"key":"account_name_alias","value":"Dis 1 - test"},{"key":"locale_id","value":"020-z-lo-0000001"}]}},"response":[],"_postman_id":"876002da-8470-b1ce-e7b3-87015464ffe7"},{"name":"Create Cannabis Business Account Step 2","id":"6da2453a-90c4-bbfb-a1d5-1f4152424f1b","request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"http://localhost:3001/admin/create/submit/cannabis-business-step-2?account_profile_id=020-ac-pr-0000003&regional_market_id=020-re-ma-0000001","protocol":"http","host":["localhost"],"port":"3001","path":["admin","create","submit","cannabis-business-step-2"],"query":[{"key":"account_profile_id","value":"020-ac-pr-0000003"},{"key":"regional_market_id","value":"020-re-ma-0000001"}]}},"response":[],"_postman_id":"6da2453a-90c4-bbfb-a1d5-1f4152424f1b"},{"name":"Associate regional markets with account profile - delete this","id":"12f17727-bbf8-9f83-11f5-db2c5e9e8df2","request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"http://localhost:3001/admin/create/submit/regional-market-to-account-profile?account_profile_id=100&regional_market_id=67","protocol":"http","host":["localhost"],"port":"3001","path":["admin","create","submit","regional-market-to-account-profile"],"query":[{"key":"account_profile_id","value":"100"},{"key":"regional_market_id","value":"67"}]}},"response":[],"_postman_id":"12f17727-bbf8-9f83-11f5-db2c5e9e8df2"},{"name":"Associate tax with regional market - this is for future feature for tax overrides for specfic accounts","id":"87b5781d-9b02-78bd-a95d-42a8f0ca72c0","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"accountProfileId\": \"020-ac-pr-0000008\",\n\t\"regionalMarketId\":\t\"020-re-ma-0000003\",\n\t\"taxes\": [\n\t\t{\n\t\t\t\"taxName\": \"Nye Country Sales Tax\",\n\t\t\t\"taxAlias\": \"Sales Tax\",\n\t\t\t\"taxRate\": 2\n\t\t}\n\t]\n}"},"url":"http://localhost:3001/admin/create/submit/tax-information-to-regional-market"},"response":[],"_postman_id":"87b5781d-9b02-78bd-a95d-42a8f0ca72c0"}],"id":"23a82fe5-dc68-c169-c813-e9c6de6f3f2e","event":[{"listen":"prerequest","script":{"id":"7caef440-cea3-483c-a9de-c5b032b3f02b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"be13d5c3-fadf-4308-81bd-a0e0b90d8900","type":"text/javascript","exec":[""]}}],"_postman_id":"23a82fe5-dc68-c169-c813-e9c6de6f3f2e"},{"name":"Set-up (Default Datasets)","item":[{"name":"1) Setup market region","id":"eeab9a8d-1d70-b053-981a-8dc3151ff122","request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"http://localhost:3001/admin/setup/submit/add-market-region?locale_id=020-z-lo-0000001&region_long_name=PashrumpTest4&region_short_name=","protocol":"http","host":["localhost"],"port":"3001","path":["admin","setup","submit","add-market-region"],"query":[{"key":"locale_id","value":"020-z-lo-0000001"},{"key":"region_long_name","value":"PashrumpTest4"},{"key":"region_short_name","value":""}]}},"response":[],"_postman_id":"eeab9a8d-1d70-b053-981a-8dc3151ff122"},{"name":"2) Setup locality","id":"25c1f838-5be9-1983-d6ce-8208b892b193","request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"http://localhost:3001/admin/setup/submit/add-locality?market_region_id=020-z-ma-re-0000002&locality_name=Nye3","protocol":"http","host":["localhost"],"port":"3001","path":["admin","setup","submit","add-locality"],"query":[{"key":"market_region_id","value":"020-z-ma-re-0000002"},{"key":"locality_name","value":"Nye3"}]}},"response":[],"_postman_id":"25c1f838-5be9-1983-d6ce-8208b892b193"},{"name":"3) Setup regional market","id":"ee680744-0a92-52c6-3d7a-b07eace4cfa4","request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"http://localhost:3001/admin/setup/submit/add-regional-market?locale_id=020-z-lo-0000001&market_region_id=020-z-ma-re-0000002&market_locality_id=020-z-ma-lo-0000002","protocol":"http","host":["localhost"],"port":"3001","path":["admin","setup","submit","add-regional-market"],"query":[{"key":"locale_id","value":"020-z-lo-0000001"},{"key":"market_region_id","value":"020-z-ma-re-0000002"},{"key":"market_locality_id","value":"020-z-ma-lo-0000002"}]}},"response":[],"_postman_id":"ee680744-0a92-52c6-3d7a-b07eace4cfa4"},{"name":"4) Setup regional market tax","id":"2581c579-a339-e097-f7a6-ff33db768b9b","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"regionalMarketId\":\t\"020-re-ma-0000002\",\n\t\"tax\": \n\t\t{\n\t\t\t\"taxName\": \"Nevada Grower Excise Tax\",\n\t\t\t\"taxAlias\": \"Excise Tax\",\n\t\t\t\"taxRate\": 15,\n\t\t\t\"taxDescription\": \"Nevada Cannabis Grower Excise Tax\"\n\t\t}\n}"},"url":"http://localhost:3001/admin/setup/submit/add-regional-market-tax"},"response":[],"_postman_id":"2581c579-a339-e097-f7a6-ff33db768b9b"}],"id":"78a2343c-965b-b704-4bf6-6452183ec152","event":[{"listen":"prerequest","script":{"id":"3fddaf8f-c4f8-450d-bae5-50f38912f1bb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b10b5bcb-c7c9-4fd4-9593-e79cee624bc3","type":"text/javascript","exec":[""]}}],"_postman_id":"78a2343c-965b-b704-4bf6-6452183ec152"}]}