{"info":{"_postman_id":"1a9b00d6-9785-4feb-ae3d-a8aa5437f01e","name":"Merch Dropper","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>API Documentation for Merch Dropper.</p>\n<p><strong>Note to developers:</strong></p>\n<p>Primary/Critical Endpoints are  Store, Product, Quote, Design, and Payment Routes</p>\n<p>Under the current user flow, the payment route handles the transaction and the order routes go unneeded despite the 11 endpoints there are. We have not included the Order endpoints but please refer to the repo's README if you want to see everything that is there.</p>\n<p>This documentation, while hopefully helpful, is not perfect. If you run into issues, find discrepancies, change logic in the backend, or update the endpoints please document it here and improve upon it where necessary. </p>\n<p>Backend deployed at Heroku.</p>\n<h1 id=\"getting-started\">Getting started</h1>\n<p><strong>Production base URL is <a href=\"https://merch-dropper.herokuapp.com/\">https://merch-dropper.herokuapp.com/</a></strong></p>\n<p><strong>Local Development base URL to <a href=\"http://localhost:5032/\">http://localhost:5032/</a></strong></p>\n<p><strong>This is handled dynamically in Merch-Dropper-fe with a .env variable</strong></p>\n<p>To get the server running locally:</p>\n<ol>\n<li>Clone this repo</li>\n<li>yarn install to install all required dependencies</li>\n<li>yarn server to start the local server</li>\n<li>yarn test to start server using testing environment</li>\n</ol>\n<h1 id=\"backend-framework\">Backend framework</h1>\n<p>NodeJS,\nExpress,\nPostgres</p>\n<h1 id=\"why-this-framework\">Why this framework?</h1>\n<p>Ease of use,\nFamiliarity,\nA true Relational Database best serves our purposes at this time</p>\n<h1 id=\"error-codes\">Error Codes</h1>\n<p>500\n503\n404</p>\n<h1 id=\"rate-limit\">Rate limit</h1>\n<p>None</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Getting started","slug":"getting-started"},{"content":"Backend framework","slug":"backend-framework"},{"content":"Why this framework?","slug":"why-this-framework"},{"content":"Error Codes","slug":"error-codes"},{"content":"Rate limit","slug":"rate-limit"}],"owner":"10983809","collectionId":"1a9b00d6-9785-4feb-ae3d-a8aa5437f01e","publishedId":"Szzn6wWF","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-06-19T20:55:03.000Z"},"item":[{"name":"User Routes ","item":[{"name":"Add New User","id":"ecb0b6d9-0587-4b3f-8403-62fcc3531576","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"/api/auth/register","description":"<p>Returns the ID of the created user</p>\n","urlObject":{"path":["api","auth","register"],"query":[],"variable":[]}},"response":[{"id":"41600b99-bf3f-48ec-b821-09a15ff6d5dd","name":"Username not unique","originalRequest":{"method":"POST","header":[],"url":"/api/auth/register"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"71"},{"key":"ETag","value":"W/\"47-pp+PHvCMTo2AwFWT0ezfN1kXHuA\""},{"key":"Date","value":"Thu, 18 Jun 2020 21:35:41 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {},\n    \"message\": \"Username Must be Unique, please choose another\"\n}"},{"id":"61efbc07-6172-41d9-8e92-1f1d2b8b9052","name":"Add New User","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"iamironman@email.com\",\n\t\"password\": \"test12345!\"\n}","options":{"raw":{"language":"json"}}},"url":"/api/auth/register"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"71"},{"key":"ETag","value":"W/\"47-pp+PHvCMTo2AwFWT0ezfN1kXHuA\""},{"key":"Date","value":"Thu, 18 Jun 2020 21:35:41 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"187"}],"_postman_id":"ecb0b6d9-0587-4b3f-8403-62fcc3531576"},{"name":"Login With User","id":"e9bff8aa-4e99-491c-8516-4d833785fc8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"/api/auth/login","description":"<p>Not used in production currently, critical for development server.</p>\n<p>Returns an object </p>\n","urlObject":{"path":["api","auth","login"],"query":[],"variable":[]}},"response":[{"id":"b169c3f2-b9eb-4052-bedc-0f194561c7e5","name":"Login with a user","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"drstrange@email.com\",\n\t\"password\": \"test12345!\"\n}","options":{"raw":{"language":"json"}}},"url":"https://merch-dropper.herokuapp.com/api/auth/login"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Welcome null!\",\n  \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6bnVsbCwiaWF0IjoxNTkxNzM3MDQ3LCJleHAiOjE1OTIzNDE4NDd9.NOilZpXMhCR1PaO0BpoqXzbJgQHm1Qkrnn5rbAitjrs\"\n}"}],"_postman_id":"e9bff8aa-4e99-491c-8516-4d833785fc8b"},{"name":"Get All Users","id":"4a33db1e-a63b-47b0-bef2-c4696b152d77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/users","description":"<p>Access Control: admin;</p>\n<p>Returns an array of all user objects</p>\n","urlObject":{"path":["api","users"],"query":[],"variable":[]}},"response":[{"id":"0c625c6d-281e-4fd6-8ff5-385c991fed9d","name":"Get All Users","originalRequest":{"method":"GET","header":[],"url":"https://merch-dropper.herokuapp.com/api/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Connection","value":"keep-alive"},{"key":"X-Dns-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"88531"},{"key":"Etag","value":"W/\"159d3-+31i9bU3RcXOKc97K6SVPQrBDGI\""},{"key":"Date","value":"Thu, 18 Jun 2020 22:36:26 GMT"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"[    {\n        \"id\": 172,\n        \"first_name\": null,\n        \"last_name\": null,\n        \"username\": null,\n        \"password\": \"$2b$10$y.i8ZZi84YQCaPeSol.vJ.i/Bt54H.vxE/P6knxg8Gh0YzwrQ1SQO\",\n        \"seller\": false,\n        \"stripe_account\": \"stripAcct\",\n        \"address1\": null,\n        \"address2\": \"-\",\n        \"city\": null,\n        \"state\": null,\n        \"zip_code\": null,\n        \"country\": null,\n        \"phone\": null,\n        \"email\": \"pli@gmail.com\",\n        \"billing_address\": null,\n        \"billing_city\": null,\n        \"billing_state\": null,\n        \"billing_zip_code\": null,\n        \"billing_country\": null,\n        \"shipping_address\": null,\n        \"shipping_city\": null,\n        \"shipping_state\": null,\n        \"shipping_zip_code\": null,\n        \"shipping_country\": null,\n        \"support_pin\": null,\n        \"created_at\": \"2020-06-17T20:41:17.024Z\",\n        \"updated_at\": \"2020-06-17T20:41:17.024Z\"\n    },\n    {\n        \"id\": 173,\n        \"first_name\": null,\n        \"last_name\": null,\n        \"username\": null,\n        \"password\": \"$2b$10$hOIxkm6w8v3TYSKwpZWgm.TL19.qxCkQEZ6Me.i32UqqBValNlvq6\",\n        \"seller\": false,\n        \"stripe_account\": null,\n        \"address1\": null,\n        \"address2\": \"-\",\n        \"city\": null,\n        \"state\": null,\n        \"zip_code\": null,\n        \"country\": null,\n        \"phone\": null,\n        \"email\": \"cats@email.com\",\n        \"billing_address\": null,\n        \"billing_city\": null,\n        \"billing_state\": null,\n        \"billing_zip_code\": null,\n        \"billing_country\": null,\n        \"shipping_address\": null,\n        \"shipping_city\": null,\n        \"shipping_state\": null,\n        \"shipping_zip_code\": null,\n        \"shipping_country\": null,\n        \"support_pin\": null,\n        \"created_at\": \"2020-06-18T21:00:51.569Z\",\n        \"updated_at\": \"2020-06-18T21:00:51.569Z\"\n    },\n    {\n        \"id\": 174,\n        \"first_name\": null,\n        \"last_name\": null,\n        \"username\": null,\n        \"password\": \"$2b$10$vMrWJS2EzkOXYrPisB6TJ.t9l2zzAg/2wlPKxAoTbP.DTgF.DtHXS\",\n        \"seller\": false,\n        \"stripe_account\": null,\n        \"address1\": null,\n        \"address2\": \"-\",\n        \"city\": null,\n        \"state\": null,\n        \"zip_code\": null,\n        \"country\": null,\n        \"phone\": null,\n        \"email\": \"some@gmail.com\",\n        \"billing_address\": null,\n        \"billing_city\": null,\n        \"billing_state\": null,\n        \"billing_zip_code\": null,\n        \"billing_country\": null,\n        \"shipping_address\": null,\n        \"shipping_city\": null,\n        \"shipping_state\": null,\n        \"shipping_zip_code\": null,\n        \"shipping_country\": null,\n        \"support_pin\": null,\n        \"created_at\": \"2020-06-18T21:37:55.133Z\",\n        \"updated_at\": \"2020-06-18T21:37:55.133Z\"\n    }]"}],"_postman_id":"4a33db1e-a63b-47b0-bef2-c4696b152d77"},{"name":"Get User By Id","id":"ecad3ccf-2888-448f-98a2-ea9b1550b0e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/users/:id","urlObject":{"path":["api","users",":id"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"e5fb3474-0eb3-4965-b5b4-776fbaf80358","name":"Get User By Id","originalRequest":{"method":"GET","header":[],"url":{"raw":"/api/users/:id","path":["api","users",":id"],"variable":[{"key":"id","type":"string","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"id\": 187,\n  \"first_name\": null,\n  \"last_name\": null,\n  \"username\": null,\n  \"password\": \"$2a$12$PRToH8dqLjoSk/o7m4ncgevUpfwve/U.F.TqeFmZEhB2Ab7yLOXom\",\n  \"seller\": 0,\n  \"stripe_account\": null,\n  \"address1\": null,\n  \"address2\": \"-\",\n  \"city\": null,\n  \"state\": null,\n  \"zip_code\": null,\n  \"country\": null,\n  \"phone\": null,\n  \"email\": \"iamironman@email.com\",\n  \"billing_address\": null,\n  \"billing_city\": null,\n  \"billing_state\": null,\n  \"billing_zip_code\": null,\n  \"billing_country\": null,\n  \"shipping_address\": null,\n  \"shipping_city\": null,\n  \"shipping_state\": null,\n  \"shipping_zip_code\": null,\n  \"shipping_country\": null,\n  \"support_pin\": null,\n  \"created_at\": \"2020-06-19 16:28:03\",\n  \"updated_at\": \"2020-06-19 16:28:03\"\n}"}],"_postman_id":"ecad3ccf-2888-448f-98a2-ea9b1550b0e4"},{"name":"Get User By Username","id":"626ebda1-df49-4e67-8118-64c9c4975023","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://merch-dropper.herokuapp.com/api/users/:username","description":"<p>At time of this writing this is not possible because we do not ask users for or allow them to CRUD their username. <strong>This endpoint is inoperable</strong>.</p>\n","urlObject":{"protocol":"https","path":["api","users",":username"],"host":["merch-dropper","herokuapp","com"],"query":[],"variable":[{"type":"string","value":"","key":"username"}]}},"response":[],"_postman_id":"626ebda1-df49-4e67-8118-64c9c4975023"},{"name":"Get User By Email","id":"f7ef1a6a-71ce-4f7a-87a4-bb070fd2cb60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://merch-dropper.herokuapp.com/api/users/email/:email","urlObject":{"protocol":"https","path":["api","users","email",":email"],"host":["merch-dropper","herokuapp","com"],"query":[],"variable":[{"type":"string","value":"","key":"email"}]}},"response":[{"id":"81157083-1ac0-4a9e-9df8-9768da893017","name":"Get User By Email","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://merch-dropper.herokuapp.com/api/users/email/:email","protocol":"https","host":["merch-dropper","herokuapp","com"],"path":["api","users","email",":email"],"variable":[{"key":"email","type":"string","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"id\": 187,\n  \"first_name\": null,\n  \"last_name\": null,\n  \"username\": null,\n  \"password\": \"$2a$12$PRToH8dqLjoSk/o7m4ncgevUpfwve/U.F.TqeFmZEhB2Ab7yLOXom\",\n  \"seller\": 0,\n  \"stripe_account\": null,\n  \"address1\": null,\n  \"address2\": \"-\",\n  \"city\": null,\n  \"state\": null,\n  \"zip_code\": null,\n  \"country\": null,\n  \"phone\": null,\n  \"email\": \"iamironman@email.com\",\n  \"billing_address\": null,\n  \"billing_city\": null,\n  \"billing_state\": null,\n  \"billing_zip_code\": null,\n  \"billing_country\": null,\n  \"shipping_address\": null,\n  \"shipping_city\": null,\n  \"shipping_state\": null,\n  \"shipping_zip_code\": null,\n  \"shipping_country\": null,\n  \"support_pin\": null,\n  \"created_at\": \"2020-06-19 16:28:03\",\n  \"updated_at\": \"2020-06-19 16:28:03\"\n}"}],"_postman_id":"f7ef1a6a-71ce-4f7a-87a4-bb070fd2cb60"},{"name":"Update A User","id":"ba5257ca-9a2a-4f93-9265-85a34155c200","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"/api/users/:username","description":"<p>At the time of this writing, there is no point where we ask user's to input a username and therefore <strong>this endpoint is inoperable</strong>. This either needs to be updated to PUT by email and/or add the ability for a User to CRUD their username.</p>\n","urlObject":{"path":["api","users",":username"],"query":[],"variable":[{"type":"string","value":"","key":"username"}]}},"response":[],"_postman_id":"ba5257ca-9a2a-4f93-9265-85a34155c200"},{"name":"Delete a User","id":"f023e5f6-3475-460a-8f8f-b5a7e2357de1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"/api/users/:username","description":"<p>At the time of this writing, there is no point where we ask user's to input a username and therefore <strong>this endpoint is inoperable</strong>. This either needs to be updated to DELETE by email and/or add the ability for a User to CRUD their username.</p>\n","urlObject":{"path":["api","users",":username"],"query":[],"variable":[{"type":"string","value":"","key":"username"}]}},"response":[],"_postman_id":"f023e5f6-3475-460a-8f8f-b5a7e2357de1"}],"id":"74c26767-f55b-45f3-9918-2708e1ee939b","description":"<p>Project has JWT as a back up auth system(disabled) used locally; <strong>primary system is Auth0 (production-only)</strong></p>\n","_postman_id":"74c26767-f55b-45f3-9918-2708e1ee939b"},{"name":"Store Routes","item":[{"name":"Add a Store to a User","id":"6944e189-037c-4318-905e-6efe8b5b6625","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"/api/stores\t","description":"<p>Registers a new store to user logged. Takes the id of the user your adding a store to and the store name.</p>\n","urlObject":{"path":["api","stores\t"],"query":[],"variable":[]}},"response":[{"id":"67883661-2e09-4184-aead-d91992bd4a0c","name":"Add a Store to a User","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"id\": 187,\n\t\"store_name\": \"StarkIndustries\",\n\t\"domain_name\": \"StarkIndustries\"\n}","options":{"raw":{"language":"json"}}},"url":"/api/stores\t"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"You have successfully added a Store!\",\n    \"storeWithEmail\": {\n        \"store_name\": \"StarkIndustries\",\n        \"userID\": 187,\n        \"domain_name\": \"StarkIndustries\"\n    }\n}"}],"_postman_id":"6944e189-037c-4318-905e-6efe8b5b6625"},{"name":"Get All Stores","id":"469bd2ad-2cc2-42c6-9b4b-86c21fec8ab7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://merch-dropper.herokuapp.com/api/","description":"<p>Returns an array of created stores as objects</p>\n","urlObject":{"protocol":"https","path":["api",""],"host":["merch-dropper","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"bdae0f4b-9ef6-403c-8e88-b2c832722386","name":"Get All Stores","originalRequest":{"method":"GET","header":[],"url":"/api/stores"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[  {\n    \"id\": 17,\n    \"active\": 1,\n    \"store_name\": \"Hulk Smash\",\n    \"domain_name\": \"HulkSmash\",\n    \"hero_ImageURL\": \"https://www.dalesjewelers.com/wp-content/uploads/2018/10placeholder-silhouette-male.png\",\n    \"logo_url\": \"https://uxmasters.org/images/ant_logo.svg\",\n    \"created_at\": \"2020-06-11 22:32:35\",\n    \"updated_at\": \"2020-06-11 22:32:35\",\n    \"userID\": 98\n  },\n  {\n    \"id\": 18,\n    \"active\": 1,\n    \"store_name\": \"PantherPlace\",\n    \"domain_name\": \"PantherPlace\",\n    \"hero_ImageURL\": \"https://www.dalesjewelers.com/wp-content/uploads/2018/10placeholder-silhouette-male.png\",\n    \"logo_url\": \"https://uxmasters.org/images/ant_logo.svg\",\n    \"created_at\": \"2020-06-11 22:56:11\",\n    \"updated_at\": \"2020-06-11 22:56:11\",\n    \"userID\": 153\n  }]"}],"_postman_id":"469bd2ad-2cc2-42c6-9b4b-86c21fec8ab7"},{"name":"Get Store by ID","id":"7fe6e533-0984-4b34-8fb0-413d55e61a0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://merch-dropper.herokuapp.com/api/","urlObject":{"protocol":"https","path":["api",""],"host":["merch-dropper","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"0c3bf5e4-6f64-4e7a-999d-03abccc3b844","name":"Store Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"/api/stores/:id","path":["api","stores",":id"],"variable":[{"key":"id","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"That store could not be found!\"\n}"},{"id":"91b60352-1512-41ae-99cc-f9841e4b0efc","name":"Get Store by ID","originalRequest":{"method":"GET","header":[],"url":{"raw":"/api/stores/:id","path":["api","stores",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"  {\n    \"id\": 31,\n    \"active\": 1,\n    \"store_name\": \"StarkIndustries\",\n    \"domain_name\": \"StarkIndustries\",\n    \"hero_ImageURL\": \"https://www.dalesjewelers.com/wp-content/uploads/2018/10placeholder-silhouette-male.png\",\n    \"logo_url\": \"https://uxmasters.org/images/ant_logo.svg\",\n    \"created_at\": \"2020-06-19 16:52:10\",\n    \"updated_at\": \"2020-06-19 16:52:10\",\n    \"userID\": 187\n  }"}],"_postman_id":"7fe6e533-0984-4b34-8fb0-413d55e61a0a"},{"name":"Get Store by Store Name","id":"7a722a42-a29f-4c7a-a144-6c30659843fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/stores/storename/:store_name","urlObject":{"path":["api","stores","storename",":store_name"],"query":[],"variable":[{"type":"string","value":"","key":"store_name"}]}},"response":[{"id":"7f3e5cc7-2b58-4438-85c8-338fd3f1bcc4","name":"Get Store by Store Name","originalRequest":{"method":"GET","header":[],"url":{"raw":"/api/stores/storename/:store_name","path":["api","stores","storename",":store_name"],"variable":[{"key":"store_name","type":"string","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"id\": 31,\n  \"active\": 1,\n  \"store_name\": \"StarkIndustries\",\n  \"domain_name\": \"StarkIndustries\",\n  \"hero_ImageURL\": \"https://www.dalesjewelers.com/wp-content/uploads/2018/10placeholder-silhouette-male.png\",\n  \"logo_url\": \"https://uxmasters.org/images/ant_logo.svg\",\n  \"created_at\": \"2020-06-19 16:52:10\",\n  \"updated_at\": \"2020-06-19 16:52:10\",\n  \"userID\": 187\n}"}],"_postman_id":"7a722a42-a29f-4c7a-a144-6c30659843fc"},{"name":"Get Store by Domain Name","id":"c3e336b2-6ac7-4029-bb21-6f81a20125e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/stores/domain/:domain_name","urlObject":{"path":["api","stores","domain",":domain_name"],"query":[],"variable":[{"type":"string","value":"","key":"domain_name"}]}},"response":[{"id":"54326682-d72f-484d-8262-9d760d42d127","name":"Get Store by Domain Name","originalRequest":{"method":"GET","header":[],"url":{"raw":"/api/stores/domain/:domain_name","path":["api","stores","domain",":domain_name"],"variable":[{"key":"domain_name","type":"string","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"id\": 31,\n  \"active\": 1,\n  \"store_name\": \"StarkIndustries\",\n  \"domain_name\": \"StarkIndustries\",\n  \"hero_ImageURL\": \"https://www.dalesjewelers.com/wp-content/uploads/2018/10placeholder-silhouette-male.png\",\n  \"logo_url\": \"https://uxmasters.org/images/ant_logo.svg\",\n  \"created_at\": \"2020-06-19 16:52:10\",\n  \"updated_at\": \"2020-06-19 16:52:10\",\n  \"userID\": 187\n}"}],"_postman_id":"c3e336b2-6ac7-4029-bb21-6f81a20125e9"},{"name":"Update a Store","id":"4e464307-f438-461b-99b9-de7fd8266add","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"/api/stores/:storeID","description":"<p>Although you <strong>CAN</strong> update store_name and domain_name separately, we <strong>HIGHLY</strong> recommend that when updating a store you send both. Not doing so could introduce some unhappy paths.</p>\n","urlObject":{"path":["api","stores",":storeID"],"query":[],"variable":[{"type":"string","value":"","key":"storeID"}]}},"response":[{"id":"363a4997-e0ba-4833-871e-3617e8fc909c","name":"Update a Store","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"store_name\": \"AvengersOutpost\",\n\t\"domain_name\": \"AvengersOutpost\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"/api/stores/:storeID","path":["api","stores",":storeID"],"variable":[{"key":"storeID","type":"string","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"store\": {\n    \"id\": 31,\n    \"active\": 1,\n    \"store_name\": \"AvengersOutpost\",\n    \"domain_name\": \"AvengersOutpost\",\n    \"hero_ImageURL\": \"https://www.dalesjewelers.com/wp-content/uploads/2018/10placeholder-silhouette-male.png\",\n    \"logo_url\": \"https://uxmasters.org/images/ant_logo.svg\",\n    \"created_at\": \"2020-06-19 16:52:10\",\n    \"updated_at\": \"2020-06-19 16:52:10\",\n    \"userID\": 187\n  },\n  \"message\": \"Store info updated!\"\n}"}],"_postman_id":"4e464307-f438-461b-99b9-de7fd8266add"},{"name":"Delete a Store","id":"6969d164-e965-4330-a7ff-d48cec9f1f9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"/api/stores/:store_name","description":"<p>At the time of this writing, <strong>this endpoint is not working properly</strong>. All requests with store names are returning 404</p>\n","urlObject":{"path":["api","stores",":store_name"],"query":[],"variable":[{"type":"string","value":"","key":"store_name"}]}},"response":[],"_postman_id":"6969d164-e965-4330-a7ff-d48cec9f1f9d"}],"id":"b271c264-5f5c-4585-9c1b-7931fccc8ec1","_postman_id":"b271c264-5f5c-4585-9c1b-7931fccc8ec1","description":""},{"name":"Product Routes","item":[{"name":"Post to Cloudinary","id":"94bc3294-fce9-43ee-9a06-9b491ff09905","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.cloudinary.com/v1_1/dze74ofbf/upload","description":"<p>This does not live in our backend but is crucial for <strong>adding a product</strong></p>\n","urlObject":{"protocol":"https","path":["v1_1","dze74ofbf","upload"],"host":["api","cloudinary","com"],"query":[],"variable":[]}},"response":[{"id":"2d3ef183-4913-4ab8-a6a9-82a6fe1cc411","name":"Post to Cloudinary","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"upload_preset\": \"cropShrink\",\n\t\"tags\": \"browser_upload\",\n\t\"file\": \"https://scalablepress.com:443/mockupServer/view/ALPHA-3001C-team_purple-front/ffffff/regular?designId=5ed93bb13953662745923c5b\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cloudinary.com/v1_1/dze74ofbf/upload"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"asset_id\": \"1b7bcf2452c40f911fd10d37c16425c2\",\n  \"public_id\": \"vyzrhx8klpthci4m4cc7\",\n  \"version\": 1592588401,\n  \"version_id\": \"57f5d56902d40f516cb719d801fa6ef9\",\n  \"signature\": \"283fa6838b1172d8ecb45d04608d760881539a5a\",\n  \"width\": 900,\n  \"height\": 1125,\n  \"format\": \"jpg\",\n  \"resource_type\": \"image\",\n  \"created_at\": \"2020-06-19T17:40:01Z\",\n  \"tags\": [\n    \"browser_upload\"\n  ],\n  \"bytes\": 155906,\n  \"type\": \"upload\",\n  \"etag\": \"3db961952e4778b0953db8034bc9178e\",\n  \"placeholder\": false,\n  \"url\": \"http://res.cloudinary.com/dze74ofbf/image/upload/v1592588401/vyzrhx8klpthci4m4cc7.jpg\",\n  \"secure_url\": \"https://res.cloudinary.com/dze74ofbf/image/upload/v1592588401/vyzrhx8klpthci4m4cc7.jpg\",\n  \"access_mode\": \"public\",\n  \"original_filename\": \"regular\",\n  \"eager\": [\n    {\n      \"transformation\": \"c_crop,g_north,h_650,q_auto:best,w_520,y_220/jpg\",\n      \"width\": 520,\n      \"height\": 650,\n      \"bytes\": 46134,\n      \"format\": \"jpg\",\n      \"url\": \"http://res.cloudinary.com/dze74ofbf/image/upload/c_crop,g_north,h_650,q_auto:best,w_520,y_220/v1592588401/vyzrhx8klpthci4m4cc7.jpg\",\n      \"secure_url\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,g_north,h_650,q_auto:best,w_520,y_220/v1592588401/vyzrhx8klpthci4m4cc7.jpg\"\n    },\n    {\n      \"transformation\": \"c_crop,f_jpg,g_north,h_650,q_auto:best,w_520,y_220/c_scale,h_225,q_auto:good,w_180/jpg\",\n      \"width\": 180,\n      \"height\": 225,\n      \"bytes\": 6261,\n      \"format\": \"jpg\",\n      \"url\": \"http://res.cloudinary.com/dze74ofbf/image/upload/c_crop,f_jpg,g_north,h_650,q_auto:best,w_520,y_220/c_scale,h_225,q_auto:good,w_180/v1592588401/vyzrhx8klpthci4m4cc7.jpg\",\n      \"secure_url\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,f_jpg,g_north,h_650,q_auto:best,w_520,y_220/c_scale,h_225,q_auto:good,w_180/v1592588401/vyzrhx8klpthci4m4cc7.jpg\"\n    }\n  ]\n}"}],"_postman_id":"94bc3294-fce9-43ee-9a06-9b491ff09905"},{"name":"Add Product Mockup","id":"6148b775-738a-493c-8084-2e1181db2978","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"/api/products/mockup","description":"<p>Adds product to ScalablePress</p>\n","urlObject":{"path":["api","products","mockup"],"query":[],"variable":[]}},"response":[{"id":"6fb7230a-f20e-47ef-93c2-86e317246cbf","name":"Add Product Mockup","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"template\": {\n        \"name\": \"front\"\n    },\n    \"product\": {\n        \"id\": \"canvas-unisex-t-shirt\",\n        \"color\": \"Black\"\n    },\n    \"design\": {\n        \"type\": \"dtg\",\n        \"sides\": {\n            \"front\": {\n                \"artwork\": \"http://res.cloudinary.com/dze74ofbf/image/upload/v1591116113/logosFromWidget/vixe9yrs2mclkzze7jy5.png\",\n                \"dimensions\": {\n                    \"width\": \"6\"\n                },\n                \"position\": {\n                    \"horizontal\": \"C\",\n                    \"offset\": {\n                        \"top\": \"2\"\n                    }\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"/api/products/mockup"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"product successfully sent to ScalablePress!\",\n    \"URL\": \"https://scalablepress.com:443/mockupServer/view/ALPHA-3001C-black-front/ffffff/regular?designId=5eed22ce7c6ff570040eb4e6\"\n}"}],"_postman_id":"6148b775-738a-493c-8084-2e1181db2978"},{"name":"Add a Product ","id":"7dc448ac-311a-4430-af74-2e92fbf5bdf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"/api/products","description":"<p>You will need to post to cloudinary <strong>before</strong> adding a product so that product will have the required fullSizeURL and thumbnailURL values</p>\n","urlObject":{"path":["api","products"],"query":[],"variable":[]}},"response":[{"id":"b6305e29-9161-4c77-9c93-22d2e51d0df3","name":"Add a Product (requires thumbnails from Cloudinary)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"color\": \"Team Purple\",\n\t\"description\": \"\",\n\t\"designId\": \"5ed93bb13953662745923c5b\",\n\t\"price\": 80,\n\t\"productName\": \"Product\",\n\t\"product_id\": \"canvas-unisex-t-shirt\",\n\t\"size\": \"med\",\n\t\"storeID\": 31,\n\t\"type\": \"dtg\",\n\t\"fullSizeUrl\": \"http://res.cloudinary.com/dze74ofbf/image/upload/c_crop,g_north,h_650,q_auto:best,w_520,y_220/v1592588401/vyzrhx8klpthci4m4cc7.jpg\",\n\t\"thumbnailURL\": \"http://res.cloudinary.com/dze74ofbf/image/upload/c_crop,f_jpg,g_north,h_650,q_auto:best,w_520,y_220/c_scale,h_225,q_auto:good,w_180/v1592588401/vyzrhx8klpthci4m4cc7.jpg\"\n}","options":{"raw":{"language":"json"}}},"url":"/api/products"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"11"}],"_postman_id":"7dc448ac-311a-4430-af74-2e92fbf5bdf5"},{"name":"Get All Products","id":"90039ffd-f919-45da-9cfa-12418bb6d228","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/products","urlObject":{"path":["api","products"],"query":[],"variable":[]}},"response":[{"id":"170dfb62-01c7-420f-9fe5-ceb82682abbd","name":"Get All Products","originalRequest":{"method":"GET","header":[],"url":"/api/products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 1,\n    \"productName\": \"Test Product - Store One\",\n    \"fullSizeURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/v1581453585/wsjikfpellbybgzbymy2.jpg\",\n    \"thumbnailURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/v1581454280/eiz7lg8c8mtosndddelk.jpg\",\n    \"description\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ornare arcu vulputate arcu suscipit venenatis. Donec sit amet ipsum ac urna dignissim euismod a euismod nisi. Nullam pulvinar odio semper.\",\n    \"price\": 10.3,\n    \"designId\": \"1\",\n    \"color\": \"white\",\n    \"size\": \"med\",\n    \"type\": \"dtg\",\n    \"product_id\": \"canvas-unisex-t-shirt\",\n    \"storeID\": 1,\n    \"created_at\": \"2020-06-02 16:30:37\",\n    \"updated_at\": \"2020-06-02 16:30:37\"\n  },\n  {\n    \"id\": 2,\n    \"productName\": \"Test Product - Store 2\",\n    \"fullSizeURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/v1581453585/wsjikfpellbybgzbymy2.jpg\",\n    \"thumbnailURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/v1581454280/eiz7lg8c8mtosndddelk.jpg\",\n    \"description\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ornare arcu vulputate arcu suscipit venenatis. Donec sit amet ipsum ac urna dignissim euismod a euismod nisi. Nullam pulvinar odio semper.\",\n    \"price\": 22.3,\n    \"designId\": \"1\",\n    \"color\": \"black\",\n    \"size\": \"med\",\n    \"type\": \"dtg\",\n    \"product_id\": \"canvas-unisex-t-shirt\",\n    \"storeID\": 2,\n    \"created_at\": \"2020-06-02 16:30:37\",\n    \"updated_at\": \"2020-06-02 16:30:37\"\n  },\n  {\n    \"id\": 3,\n    \"productName\": \"nbhujihn\",\n    \"fullSizeURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,g_north,h_650,q_auto:best,w_520,y_220/v1591120197/gt5rwkujdxrrcme1rosz.jpg\",\n    \"thumbnailURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,f_jpg,g_north,h_650,q_auto:best,w_520,y_220/c_scale,h_225,q_auto:good,w_180/v1591120197/gt5rwkujdxrrcme1rosz.jpg\",\n    \"description\": \"njioknoji\",\n    \"price\": 15616,\n    \"designId\": \"5ed69132da7c170512942520\",\n    \"color\": \"Heather Prism Peach\",\n    \"size\": \"med\",\n    \"type\": \"dtg\",\n    \"product_id\": \"canvas-unisex-t-shirt\",\n    \"storeID\": 3,\n    \"created_at\": \"2020-06-02 17:49:58\",\n    \"updated_at\": \"2020-06-02 17:49:58\"\n  },\n  {\n    \"id\": 4,\n    \"productName\": \"huho\",\n    \"fullSizeURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,g_north,h_650,q_auto:best,w_520,y_220/v1591120599/pl9hzuivpozyaofvxzki.jpg\",\n    \"thumbnailURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,f_jpg,g_north,h_650,q_auto:best,w_520,y_220/c_scale,h_225,q_auto:good,w_180/v1591120599/pl9hzuivpozyaofvxzki.jpg\",\n    \"description\": \"bguyi\",\n    \"price\": 145,\n    \"designId\": \"5ed692c0663add1bb125ebb3\",\n    \"color\": \"Deep Teal\",\n    \"size\": \"med\",\n    \"type\": \"dtg\",\n    \"product_id\": \"canvas-unisex-t-shirt\",\n    \"storeID\": 3,\n    \"created_at\": \"2020-06-02 17:56:40\",\n    \"updated_at\": \"2020-06-02 17:56:40\"\n  },\n  {\n    \"id\": 5,\n    \"productName\": \"mnkjo\",\n    \"fullSizeURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,g_north,h_650,q_auto:best,w_520,y_220/v1591120764/gjqhfckjsmbwcrowgniy.jpg\",\n    \"thumbnailURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,f_jpg,g_north,h_650,q_auto:best,w_520,y_220/c_scale,h_225,q_auto:good,w_180/v1591120764/gjqhfckjsmbwcrowgniy.jpg\",\n    \"description\": \"nbjhik;l\",\n    \"price\": 156,\n    \"designId\": \"5ed6936e1b23a16f3b35b287\",\n    \"color\": \"Heather Tan\",\n    \"size\": \"med\",\n    \"type\": \"dtg\",\n    \"product_id\": \"canvas-unisex-t-shirt\",\n    \"storeID\": 3,\n    \"created_at\": \"2020-06-02 17:59:25\",\n    \"updated_at\": \"2020-06-02 17:59:25\"\n  },\n  {\n    \"id\": 6,\n    \"productName\": \"ti4390[\",\n    \"fullSizeURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,g_north,h_650,q_auto:best,w_520,y_220/v1591379107/xyninaid7uftmboiibud.jpg\",\n    \"thumbnailURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,f_jpg,g_north,h_650,q_auto:best,w_520,y_220/c_scale,h_225,q_auto:good,w_180/v1591379107/xyninaid7uftmboiibud.jpg\",\n    \"description\": \"gkfgpafkepw\",\n    \"price\": 456456,\n    \"designId\": \"5eda8490e771631220ccbb7e\",\n    \"color\": \"Kelly\",\n    \"size\": \"med\",\n    \"type\": \"dtg\",\n    \"product_id\": \"canvas-unisex-t-shirt\",\n    \"storeID\": 3,\n    \"created_at\": \"2020-06-05 17:45:09\",\n    \"updated_at\": \"2020-06-05 17:45:09\"\n  },\n  {\n    \"id\": 7,\n    \"productName\": \"Product\",\n    \"fullSizeURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,g_north,h_650,q_auto:best,w_520,y_220/v1591299096/fhjoip4s9pznd53o94nw.jpg\",\n    \"thumbnailURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,f_jpg,g_north,h_650,q_auto:best,w_520,y_220/c_scale,h_225,q_auto:good,w_180/v1591299096/fhjoip4s9pznd53o94nw.jpg\",\n    \"description\": \"\",\n    \"price\": 80,\n    \"designId\": \"5ed93bb13953662745923c5b\",\n    \"color\": \"Team Purple\",\n    \"size\": \"med\",\n    \"type\": \"dtg\",\n    \"product_id\": \"canvas-unisex-t-shirt\",\n    \"storeID\": 6,\n    \"created_at\": \"2020-06-05 21:58:50\",\n    \"updated_at\": \"2020-06-05 21:58:50\"\n  },\n  {\n    \"id\": 8,\n    \"productName\": \"Who's This Guy\",\n    \"fullSizeURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,g_north,h_650,q_auto:best,w_520,y_220/v1592432083/i0utjcponinrc5dwki9h.jpg\",\n    \"thumbnailURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,f_jpg,g_north,h_650,q_auto:best,w_520,y_220/c_scale,h_225,q_auto:good,w_180/v1592432083/i0utjcponinrc5dwki9h.jpg\",\n    \"description\": \"\",\n    \"price\": 80,\n    \"designId\": \"5eea95c7b8c9946ff7d9b1fe\",\n    \"color\": \"Black\",\n    \"size\": \"med\",\n    \"type\": \"dtg\",\n    \"product_id\": \"canvas-unisex-t-shirt\",\n    \"storeID\": 30,\n    \"created_at\": \"2020-06-17 22:14:44\",\n    \"updated_at\": \"2020-06-17 22:14:44\"\n  },\n  {\n    \"id\": 9,\n    \"productName\": \"DOGGO\",\n    \"fullSizeURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,g_north,h_650,q_auto:best,w_520,y_220/v1592432513/bm1rplkpjvphmlzzhysd.jpg\",\n    \"thumbnailURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,f_jpg,g_north,h_650,q_auto:best,w_520,y_220/c_scale,h_225,q_auto:good,w_180/v1592432513/bm1rplkpjvphmlzzhysd.jpg\",\n    \"description\": \"\",\n    \"price\": 80,\n    \"designId\": \"5eea9776e0826e171bd994d2\",\n    \"color\": \"Tan\",\n    \"size\": \"med\",\n    \"type\": \"dtg\",\n    \"product_id\": \"canvas-unisex-t-shirt\",\n    \"storeID\": 30,\n    \"created_at\": \"2020-06-17 22:21:54\",\n    \"updated_at\": \"2020-06-17 22:21:54\"\n  },\n  {\n    \"id\": 10,\n    \"productName\": \"Product\",\n    \"fullSizeURL\": \"http://res.cloudinary.com/dze74ofbf/image/upload/c_crop,g_north,h_650,q_auto:best,w_520,y_220/v1592588401/vyzrhx8klpthci4m4cc7.jpg\",\n    \"thumbnailURL\": \"http://res.cloudinary.com/dze74ofbf/image/upload/c_crop,f_jpg,g_north,h_650,q_auto:best,w_520,y_220/c_scale,h_225,q_auto:good,w_180/v1592588401/vyzrhx8klpthci4m4cc7.jpg\",\n    \"description\": \"\",\n    \"price\": 80,\n    \"designId\": \"5ed93bb13953662745923c5b\",\n    \"color\": \"Team Purple\",\n    \"size\": \"med\",\n    \"type\": \"dtg\",\n    \"product_id\": \"canvas-unisex-t-shirt\",\n    \"storeID\": 6,\n    \"created_at\": \"2020-06-19 17:43:17\",\n    \"updated_at\": \"2020-06-19 17:43:17\"\n  },\n  {\n    \"id\": 11,\n    \"productName\": \"Product\",\n    \"fullSizeURL\": \"http://res.cloudinary.com/dze74ofbf/image/upload/c_crop,g_north,h_650,q_auto:best,w_520,y_220/v1592588401/vyzrhx8klpthci4m4cc7.jpg\",\n    \"thumbnailURL\": \"http://res.cloudinary.com/dze74ofbf/image/upload/c_crop,f_jpg,g_north,h_650,q_auto:best,w_520,y_220/c_scale,h_225,q_auto:good,w_180/v1592588401/vyzrhx8klpthci4m4cc7.jpg\",\n    \"description\": \"\",\n    \"price\": 80,\n    \"designId\": \"5ed93bb13953662745923c5b\",\n    \"color\": \"Team Purple\",\n    \"size\": \"med\",\n    \"type\": \"dtg\",\n    \"product_id\": \"canvas-unisex-t-shirt\",\n    \"storeID\": 31,\n    \"created_at\": \"2020-06-19 17:43:34\",\n    \"updated_at\": \"2020-06-19 17:43:34\"\n  },\n  {\n    \"id\": 12,\n    \"productName\": \"Refresh\",\n    \"fullSizeURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,g_north,h_650,q_auto:best,w_520,y_220/v1592589225/zikqatqey3s0g4kmyxgw.jpg\",\n    \"thumbnailURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,f_jpg,g_north,h_650,q_auto:best,w_520,y_220/c_scale,h_225,q_auto:good,w_180/v1592589225/zikqatqey3s0g4kmyxgw.jpg\",\n    \"description\": \"\",\n    \"price\": 50,\n    \"designId\": \"5eecfb8a22fbff6ffdd9869e\",\n    \"color\": \"Black\",\n    \"size\": \"med\",\n    \"type\": \"dtg\",\n    \"product_id\": \"canvas-unisex-t-shirt\",\n    \"storeID\": 31,\n    \"created_at\": \"2020-06-19 17:53:45\",\n    \"updated_at\": \"2020-06-19 17:53:45\"\n  }\n]"}],"_postman_id":"90039ffd-f919-45da-9cfa-12418bb6d228"},{"name":"Get Product by ID","id":"e7f7bbca-3ceb-4832-a7e5-249d1d964e1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"","urlObject":{"query":[],"variable":[]}},"response":[{"id":"fe661774-93f6-485f-9a15-4c9110bddaa9","name":"Get Product by ID","originalRequest":{"method":"GET","header":[],"url":{"raw":"/api/products/:id","path":["api","products",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 11,\n    \"productName\": \"Product\",\n    \"fullSizeURL\": \"http://res.cloudinary.com/dze74ofbf/image/upload/c_crop,g_north,h_650,q_auto:best,w_520,y_220/v1592588401/vyzrhx8klpthci4m4cc7.jpg\",\n    \"thumbnailURL\": \"http://res.cloudinary.com/dze74ofbf/image/upload/c_crop,f_jpg,g_north,h_650,q_auto:best,w_520,y_220/c_scale,h_225,q_auto:good,w_180/v1592588401/vyzrhx8klpthci4m4cc7.jpg\",\n    \"description\": \"\",\n    \"price\": 80,\n    \"designId\": \"5ed93bb13953662745923c5b\",\n    \"color\": \"Team Purple\",\n    \"size\": \"med\",\n    \"type\": \"dtg\",\n    \"product_id\": \"canvas-unisex-t-shirt\",\n    \"storeID\": 31,\n    \"created_at\": \"2020-06-19 17:43:34\",\n    \"updated_at\": \"2020-06-19 17:43:34\"\n}"}],"_postman_id":"e7f7bbca-3ceb-4832-a7e5-249d1d964e1f"},{"name":"Get A Store's Products","id":"9518427a-100d-4956-987c-798a25aafbc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/products/store/:storeID","urlObject":{"path":["api","products","store",":storeID"],"query":[],"variable":[{"type":"string","value":"","key":"storeID"}]}},"response":[{"id":"dc1e2b0c-0be4-40cc-9c72-002ad8f14cbf","name":"Get A Store's Products","originalRequest":{"method":"GET","header":[],"url":{"raw":"/api/products/store/:storeID","path":["api","products","store",":storeID"],"variable":[{"key":"storeID","type":"string","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 11,\n    \"productName\": \"Product\",\n    \"fullSizeURL\": \"http://res.cloudinary.com/dze74ofbf/image/upload/c_crop,g_north,h_650,q_auto:best,w_520,y_220/v1592588401/vyzrhx8klpthci4m4cc7.jpg\",\n    \"thumbnailURL\": \"http://res.cloudinary.com/dze74ofbf/image/upload/c_crop,f_jpg,g_north,h_650,q_auto:best,w_520,y_220/c_scale,h_225,q_auto:good,w_180/v1592588401/vyzrhx8klpthci4m4cc7.jpg\",\n    \"description\": \"\",\n    \"price\": 80,\n    \"designId\": \"5ed93bb13953662745923c5b\",\n    \"color\": \"Team Purple\",\n    \"size\": \"med\",\n    \"type\": \"dtg\",\n    \"product_id\": \"canvas-unisex-t-shirt\",\n    \"storeID\": 31,\n    \"created_at\": \"2020-06-19 17:43:34\",\n    \"updated_at\": \"2020-06-19 17:43:34\"\n  },\n  {\n    \"id\": 12,\n    \"productName\": \"Refresh\",\n    \"fullSizeURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,g_north,h_650,q_auto:best,w_520,y_220/v1592589225/zikqatqey3s0g4kmyxgw.jpg\",\n    \"thumbnailURL\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_crop,f_jpg,g_north,h_650,q_auto:best,w_520,y_220/c_scale,h_225,q_auto:good,w_180/v1592589225/zikqatqey3s0g4kmyxgw.jpg\",\n    \"description\": \"\",\n    \"price\": 50,\n    \"designId\": \"5eecfb8a22fbff6ffdd9869e\",\n    \"color\": \"Black\",\n    \"size\": \"med\",\n    \"type\": \"dtg\",\n    \"product_id\": \"canvas-unisex-t-shirt\",\n    \"storeID\": 31,\n    \"created_at\": \"2020-06-19 17:53:45\",\n    \"updated_at\": \"2020-06-19 17:53:45\"\n  }\n]"}],"_postman_id":"9518427a-100d-4956-987c-798a25aafbc6"},{"name":"Update a Product","id":"d1737be2-656f-44b4-9927-a92c2771956d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"/api/products/:id","urlObject":{"path":["api","products",":id"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"4d8acb60-6cc5-4ad5-8c97-29da0f4e0c84","name":"Update a Product","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"productName\": \"B.A.R.F\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"/api/products/:id","path":["api","products",":id"],"variable":[{"key":"id","type":"string","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"product\": {\n    \"id\": 11,\n    \"productName\": \"B.A.R.F\",\n    \"fullSizeURL\": \"http://res.cloudinary.com/dze74ofbf/image/upload/c_crop,g_north,h_650,q_auto:best,w_520,y_220/v1592588401/vyzrhx8klpthci4m4cc7.jpg\",\n    \"thumbnailURL\": \"http://res.cloudinary.com/dze74ofbf/image/upload/c_crop,f_jpg,g_north,h_650,q_auto:best,w_520,y_220/c_scale,h_225,q_auto:good,w_180/v1592588401/vyzrhx8klpthci4m4cc7.jpg\",\n    \"description\": \"\",\n    \"price\": 80,\n    \"designId\": \"5ed93bb13953662745923c5b\",\n    \"color\": \"Team Purple\",\n    \"size\": \"med\",\n    \"type\": \"dtg\",\n    \"product_id\": \"canvas-unisex-t-shirt\",\n    \"storeID\": 31,\n    \"created_at\": \"2020-06-19 17:43:34\",\n    \"updated_at\": \"2020-06-19 17:43:34\"\n  },\n  \"message\": \"product info has been updated!\"\n}"}],"_postman_id":"d1737be2-656f-44b4-9927-a92c2771956d"},{"name":"Delete a Product","id":"0b501732-387f-4eb1-b547-0257e8c26895","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"/api/products/:id","urlObject":{"path":["api","products",":id"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"8384a7ea-e3a2-4c92-8423-6e5725d218c1","name":"Delete a Product","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"/api/products/:id","path":["api","products",":id"],"variable":[{"key":"id","type":"string","value":""}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"this product has been deleted!\"\n}"}],"_postman_id":"0b501732-387f-4eb1-b547-0257e8c26895"}],"id":"7dfa9259-faf0-414e-93c4-fbe2cab3f085","_postman_id":"7dfa9259-faf0-414e-93c4-fbe2cab3f085","description":""},{"name":"Quote Routes","item":[{"name":"Add a Quote","id":"b5327e81-af44-4fe7-8f07-e36ac1d13bed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"","urlObject":{"query":[],"variable":[]}},"response":[{"id":"e6e322f5-f689-457b-aa83-5dbb8064d627","name":"Add a Quote","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"quoteInfo\": { \"storeID\": 6, \"userID\": 1 },\n  \"spInfo\": {\n    \"type\": \"dtg\",\n    \"designId\": \"5ed93bb13953662745923c5b\",\n    \"products\": [{\n\t    \"id\": \"canvas-unisex-t-shirt\",\n\t    \"color\": \"Team Purple\",\n\t    \"size\": \"med\",\n\t    \"quantity\": 2\n\t}],\n    \"address\": {\n      \"name\": \"Jericho Drumm\",\n      \"address1\": \"1117 Dickory Road, Apt. E345\",\n      \"city\": \"River Ridge\",\n      \"state\": \"LOUISIANA\",\n      \"zip\": \"70123\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"/api/quotes"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"You have successfully added this Quote to our DB, spResponse is from SP!\",\n  \"quote\": {\n    \"userID\": 1,\n    \"storeID\": 6,\n    \"total\": 20.7,\n    \"subtotal\": 15.96,\n    \"tax\": 0,\n    \"fees\": 1,\n    \"shipping\": 3.74,\n    \"orderToken\": \"order_6X7N3NMQCsITKkSW69Q-3Q\",\n    \"warnings\": [],\n    \"mode\": \"test\"\n  }\n}"}],"_postman_id":"b5327e81-af44-4fe7-8f07-e36ac1d13bed"},{"name":"Get All Quotes","id":"a91fc3ae-2a3e-4c26-a28c-52ae2c4ebd41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/quotes","urlObject":{"path":["api","quotes"],"query":[],"variable":[]}},"response":[{"id":"02592cde-971e-490a-a621-ea9e7e7d34e7","name":"Get All Quotes","originalRequest":{"method":"GET","header":[],"url":"/api/quotes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[  {\n    \"id\": 221,\n    \"total\": 20.7,\n    \"subtotal\": 15.96,\n    \"tax\": 0,\n    \"fees\": 1,\n    \"shipping\": 3.74,\n    \"orderToken\": \"order_X5yQNkCMdcrFxktOSrdrow\",\n    \"warnings\": null,\n    \"mode\": \"test\",\n    \"storeID\": 6,\n    \"userID\": 1\n  },\n  {\n    \"id\": 222,\n    \"total\": 20.7,\n    \"subtotal\": 15.96,\n    \"tax\": 0,\n    \"fees\": 1,\n    \"shipping\": 3.74,\n    \"orderToken\": \"order_PySrX_8Rzh9QnGs_jlThVA\",\n    \"warnings\": null,\n    \"mode\": \"test\",\n    \"storeID\": 6,\n    \"userID\": 1\n  },\n  {\n    \"id\": 223,\n    \"total\": 20.7,\n    \"subtotal\": 15.96,\n    \"tax\": 0,\n    \"fees\": 1,\n    \"shipping\": 3.74,\n    \"orderToken\": \"order_wP6cIdNftFFDkxex_MmH8Q\",\n    \"warnings\": null,\n    \"mode\": \"test\",\n    \"storeID\": 6,\n    \"userID\": 1\n  },\n  {\n    \"id\": 224,\n    \"total\": 20.7,\n    \"subtotal\": 15.96,\n    \"tax\": 0,\n    \"fees\": 1,\n    \"shipping\": 3.74,\n    \"orderToken\": \"order_6X7N3NMQCsITKkSW69Q-3Q\",\n    \"warnings\": null,\n    \"mode\": \"test\",\n    \"storeID\": 6,\n    \"userID\": 1\n  }]"}],"_postman_id":"a91fc3ae-2a3e-4c26-a28c-52ae2c4ebd41"},{"name":"Get Quote by ID","id":"ca6867bd-f052-474f-a1c7-2d13355eb70d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/quotes/:id","urlObject":{"path":["api","quotes",":id"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"5e631731-12fb-41ed-8f9a-7ac2324c387e","name":"Get Quote by ID","originalRequest":{"method":"GET","header":[],"url":{"raw":"/api/quotes/:id","path":["api","quotes",":id"],"variable":[{"key":"id","type":"string","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"id\": 224,\n  \"total\": 20.7,\n  \"subtotal\": 15.96,\n  \"tax\": 0,\n  \"fees\": 1,\n  \"shipping\": 3.74,\n  \"orderToken\": \"order_6X7N3NMQCsITKkSW69Q-3Q\",\n  \"warnings\": null,\n  \"mode\": \"test\",\n  \"storeID\": 6,\n  \"userID\": 1\n}"}],"_postman_id":"ca6867bd-f052-474f-a1c7-2d13355eb70d"},{"name":"Get Quote by Order Token","id":"a9f42a8c-f818-4e0d-86ca-489a25704fa8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/quotes/quotetoken/:quoteToken","urlObject":{"path":["api","quotes","quotetoken",":quoteToken"],"query":[],"variable":[{"type":"string","value":"","key":"quoteToken"}]}},"response":[{"id":"03492626-4802-46df-b999-d669d11ed4ed","name":"Get Quote by Order Token","originalRequest":{"method":"GET","header":[],"url":{"raw":"/api/quotes/quotetoken/:quoteToken","path":["api","quotes","quotetoken",":quoteToken"],"variable":[{"key":"quoteToken","type":"string","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 224,\n    \"total\": 20.7,\n    \"subtotal\": 15.96,\n    \"tax\": 0,\n    \"fees\": 1,\n    \"shipping\": 3.74,\n    \"orderToken\": \"order_6X7N3NMQCsITKkSW69Q-3Q\",\n    \"warnings\": null,\n    \"mode\": \"test\",\n    \"storeID\": 6,\n    \"userID\": 1\n}"}],"_postman_id":"a9f42a8c-f818-4e0d-86ca-489a25704fa8"},{"name":"Update a Quote by ID","id":"cc6e520b-51da-4c95-b8b2-319f978c2b3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"/api/quotes/:quoteID","urlObject":{"path":["api","quotes",":quoteID"],"query":[],"variable":[{"type":"string","value":"","key":"quoteID"}]}},"response":[{"id":"32c31e58-b350-4c14-9900-8084353a7418","name":"Update a Quote by ID","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\"tax\": 1.75\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"/api/quotes/:quoteID","path":["api","quotes",":quoteID"],"variable":[{"key":"quoteID","type":"string","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"quote\": {\n    \"id\": 224,\n    \"total\": 20.7,\n    \"subtotal\": 15.96,\n    \"tax\": 1.75,\n    \"fees\": 1,\n    \"shipping\": 3.74,\n    \"orderToken\": \"order_6X7N3NMQCsITKkSW69Q-3Q\",\n    \"warnings\": null,\n    \"mode\": \"test\",\n    \"storeID\": 6,\n    \"userID\": 1\n  },\n  \"message\": \"Quote info has been updated!\"\n}"}],"_postman_id":"cc6e520b-51da-4c95-b8b2-319f978c2b3c"},{"name":"Delete Quote by ID","id":"648737d0-e58d-495b-85dc-75076b34febe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"/api/quotes/:quoteID","urlObject":{"path":["api","quotes",":quoteID"],"query":[],"variable":[{"type":"string","value":"","key":"quoteID"}]}},"response":[{"id":"ca8293fd-5024-48f0-a2ce-287e1bd5cd38","name":"Delete Quote by ID","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"/api/quotes/:quoteID","path":["api","quotes",":quoteID"],"variable":[{"key":"quoteID","type":"string","value":""}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"this Quote has been deleted!\"\n}"}],"_postman_id":"648737d0-e58d-495b-85dc-75076b34febe"}],"id":"ccb7d805-bd66-4563-8057-f65f3acf61f6","_postman_id":"ccb7d805-bd66-4563-8057-f65f3acf61f6","description":""},{"name":"Design Routes","item":[{"name":"Add a Design","id":"fb84ab8a-6a39-4b35-8a19-c230a5b33e71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://merch-dropper.herokuapp.com/api/designs","description":"<p>Adds a new design tied to user logged.</p>\n","urlObject":{"protocol":"https","path":["api","designs"],"host":["merch-dropper","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"8a5f7c3d-3b9b-4b4a-aa88-51db324b1ef9","name":"Add a Design","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"design_name\": \"dab-squidward\",\n    \"design_url\": \"http://res.cloudinary.com/dze74ofbf/image/upload/v1592599425/logosFromWidget/yfnsqnzcvn1cetrteykf.png\",\n    \"thumbnail_url\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_limit,h_60,w_90/v1592599425/logosFromWidget/yfnsqnzcvn1cetrteykf.png\",\n    \"storeID\": 1,\n    \"userID\": 1\n}","options":{"raw":{"language":"json"}}},"url":"/api/designs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Design Added!\",\n    \"design\": {\n        \"design_name\": \"dab-squidward\",\n        \"design_url\": \"http://res.cloudinary.com/dze74ofbf/image/upload/v1592599425/logosFromWidget/yfnsqnzcvn1cetrteykf.png\",\n        \"thumbnail_url\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_limit,h_60,w_90/v1592599425/logosFromWidget/yfnsqnzcvn1cetrteykf.png\",\n        \"storeID\": 1,\n        \"userID\": 1\n    }\n}"}],"_postman_id":"fb84ab8a-6a39-4b35-8a19-c230a5b33e71"},{"name":"Get All Designs","id":"ba45af1e-ab50-43cf-9700-8a6427cf3d07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/designs","urlObject":{"path":["api","designs"],"query":[],"variable":[]}},"response":[{"id":"0f404735-da1e-4d54-9265-ecf2e21df901","name":"Get All Designs","originalRequest":{"method":"GET","header":[],"url":"/api/designs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"design_name\": \"Ant for shirt\",\n        \"design_url\": \"https://uxmasters.org/images/ant_logo.svg\",\n        \"thumbnail_url\": \"https://uxmasters.org/images/ant_logo.svg\",\n        \"storeID\": 1,\n        \"userID\": 1,\n        \"created_at\": \"2020-06-02 16:30:37\",\n        \"updated_at\": \"2020-06-02 16:30:37\"\n    },\n    {\n        \"id\": 2,\n        \"design_name\": \"Ant for shirt\",\n        \"design_url\": \"https://uxmasters.org/images/ant_logo.svg\",\n        \"thumbnail_url\": \"https://uxmasters.org/images/ant_logo.svg\",\n        \"storeID\": 1,\n        \"userID\": 1,\n        \"created_at\": \"2020-06-02 16:30:37\",\n        \"updated_at\": \"2020-06-02 16:30:37\"\n    },\n    {\n        \"id\": 3,\n        \"design_name\": \"Ant for shirt\",\n        \"design_url\": \"https://uxmasters.org/images/ant_logo.svg\",\n        \"thumbnail_url\": \"https://uxmasters.org/images/ant_logo.svg\",\n        \"storeID\": 1,\n        \"userID\": 1,\n        \"created_at\": \"2020-06-02 16:30:37\",\n        \"updated_at\": \"2020-06-02 16:30:37\"\n    },\n    {\n        \"id\": 4,\n        \"design_name\": \"Ant for shirt - Store 2\",\n        \"design_url\": \"https://uxmasters.org/images/ant_logo.svg\",\n        \"thumbnail_url\": \"https://uxmasters.org/images/ant_logo.svg\",\n        \"storeID\": 2,\n        \"userID\": 2,\n        \"created_at\": \"2020-06-02 16:30:37\",\n        \"updated_at\": \"2020-06-02 16:30:37\"\n    },\n    {\n        \"id\": 5,\n        \"design_name\": \"photo-1507525428034-b723cf961d3e (1)\",\n        \"design_url\": \"http://res.cloudinary.com/dze74ofbf/image/upload/v1591116113/logosFromWidget/vixe9yrs2mclkzze7jy5.png\",\n        \"thumbnail_url\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_limit,h_60,w_90/v1591116113/logosFromWidget/vixe9yrs2mclkzze7jy5.png\",\n        \"storeID\": 1,\n        \"userID\": 1,\n        \"created_at\": \"2020-06-02 16:41:55\",\n        \"updated_at\": \"2020-06-02 16:41:55\"\n    },\n    {\n        \"id\": 6,\n        \"design_name\": \"dab-squidward\",\n        \"design_url\": \"http://res.cloudinary.com/dze74ofbf/image/upload/v1592599425/logosFromWidget/yfnsqnzcvn1cetrteykf.png\",\n        \"thumbnail_url\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_limit,h_60,w_90/v1592599425/logosFromWidget/yfnsqnzcvn1cetrteykf.png\",\n        \"storeID\": 1,\n        \"userID\": 1,\n        \"created_at\": \"2020-06-19 20:43:45\",\n        \"updated_at\": \"2020-06-19 20:43:45\"\n    },\n    {\n        \"id\": 7,\n        \"design_name\": \"dab-squidward\",\n        \"design_url\": \"http://res.cloudinary.com/dze74ofbf/image/upload/v1592599425/logosFromWidget/yfnsqnzcvn1cetrteykf.png\",\n        \"thumbnail_url\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_limit,h_60,w_90/v1592599425/logosFromWidget/yfnsqnzcvn1cetrteykf.png\",\n        \"storeID\": 1,\n        \"userID\": 1,\n        \"created_at\": \"2020-06-19 20:44:32\",\n        \"updated_at\": \"2020-06-19 20:44:32\"\n    }\n]"}],"_postman_id":"ba45af1e-ab50-43cf-9700-8a6427cf3d07"},{"name":"Get Design by ID","id":"cd1bba07-d214-42b4-8f3f-18a20782a5ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/designs/:id","urlObject":{"path":["api","designs",":id"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"424d4dea-de35-4253-8a0f-a58493179880","name":"Get Design by ID","originalRequest":{"method":"GET","header":[],"url":{"raw":"/api/designs/:id","path":["api","designs",":id"],"variable":[{"key":"id","type":"string","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 7,\n    \"design_name\": \"dab-squidward\",\n    \"design_url\": \"http://res.cloudinary.com/dze74ofbf/image/upload/v1592599425/logosFromWidget/yfnsqnzcvn1cetrteykf.png\",\n    \"thumbnail_url\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_limit,h_60,w_90/v1592599425/logosFromWidget/yfnsqnzcvn1cetrteykf.png\",\n    \"storeID\": 1,\n    \"userID\": 1,\n    \"created_at\": \"2020-06-19 20:44:32\",\n    \"updated_at\": \"2020-06-19 20:44:32\"\n}"}],"_postman_id":"cd1bba07-d214-42b4-8f3f-18a20782a5ac"},{"name":"Update a Design","id":"019a2a69-c9ce-44fb-a06f-7fd6e03e49bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://merch-dropper.herokuapp.com/api/designs/:id","description":"<p>Edit a design in system by ID</p>\n","urlObject":{"protocol":"https","path":["api","designs",":id"],"host":["merch-dropper","herokuapp","com"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"331b18bc-ff27-4950-9237-f8a02225f2a1","name":"Update a Design","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userID\": 187\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://merch-dropper.herokuapp.com/api/designs/:id","protocol":"https","host":["merch-dropper","herokuapp","com"],"path":["api","designs",":id"],"variable":[{"key":"id","type":"string","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Design info has been updated!\",\n    \"design\": {\n        \"id\": 7,\n        \"design_name\": \"dab-squidward\",\n        \"design_url\": \"http://res.cloudinary.com/dze74ofbf/image/upload/v1592599425/logosFromWidget/yfnsqnzcvn1cetrteykf.png\",\n        \"thumbnail_url\": \"https://res.cloudinary.com/dze74ofbf/image/upload/c_limit,h_60,w_90/v1592599425/logosFromWidget/yfnsqnzcvn1cetrteykf.png\",\n        \"storeID\": 1,\n        \"userID\": 187,\n        \"created_at\": \"2020-06-19 20:44:32\",\n        \"updated_at\": \"2020-06-19 20:44:32\"\n    }\n}"}],"_postman_id":"019a2a69-c9ce-44fb-a06f-7fd6e03e49bc"},{"name":"Delete a Design","id":"daceb3c6-9064-447e-9d11-3e8bcc7b68e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://merch-dropper.herokuapp.com/api/designs/:id","description":"<p>Delete a design in system by ID</p>\n","urlObject":{"protocol":"https","path":["api","designs",":id"],"host":["merch-dropper","herokuapp","com"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"a86cca88-23a0-4c67-8ee3-0b715b83987e","name":"Delete a Design","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://merch-dropper.herokuapp.com/api/designs/:id","protocol":"https","host":["merch-dropper","herokuapp","com"],"path":["api","designs",":id"],"variable":[{"key":"id","type":"string","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"this Design has been deleted!\"\n}"}],"_postman_id":"daceb3c6-9064-447e-9d11-3e8bcc7b68e7"}],"id":"018b23d6-7051-4b85-a1b6-6c220599768b","_postman_id":"018b23d6-7051-4b85-a1b6-6c220599768b","description":""},{"name":"Payment Routes","item":[{"name":"Complete a Transaction","id":"8c6793ea-feb7-4f7f-97f5-dced38ade945","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"amount\": 16374,\n  \"token\": {\n    \"id\": \"tok_1GvVkZAJrUlRj7ov4FbCP5Pl\",\n    \"object\": \"token\",\n    \"card\": {\n      \"id\": \"card_1GvVkZAJrUlRj7ovVx6l5nTq\",\n      \"object\": \"card\",\n      \"address_city\": \"River Ridge\",\n      \"address_country\": \"United States\",\n      \"address_line1\": \"1117 Dickory Road\",\n      \"address_line1_check\": \"unchecked\",\n      \"address_line2\": \"Apt. E345\",\n      \"address_state\": \"LA\",\n      \"address_zip\": \"70123\",\n      \"address_zip_check\": \"unchecked\",\n      \"brand\": \"Visa\",\n      \"country\": \"US\",\n      \"cvc_check\": \"unchecked\",\n      \"dynamic_last4\": null,\n      \"exp_month\": 2,\n      \"exp_year\": 2042,\n      \"funding\": \"credit\",\n      \"last4\": 4242,\n      \"metadata\": {},\n      \"name\": \"Jericho Drumm\",\n      \"tokenization_method\": null\n    },\n    \"client_ip\": \"45.37.173.144\",\n    \"created\": 1592517503,\n    \"email\": \"brothervoodoo@email.com\",\n    \"livemode\": false,\n    \"type\": \"card\",\n    \"used\": false,\n    \"domain_name\": \"TESTME\",\n    \"orderToken\": \"order_aEp1gW0L3JWj-n_wnxA6Tg\"\n  },\n  \"config\": { \"headers\": { \"Content-Type\": \"application/json\" } }\n}","options":{"raw":{"language":"json"}}},"url":"/api/payments","description":"<p>Completes order and distributes funds. Takes the token object sent in the react-stripe-checkout component using StripeButton.js. \norderToken and domain_name need to be passed to this endpoint for payment to complete successfully</p>\n","urlObject":{"path":["api","payments"],"query":[],"variable":[]}},"response":[{"id":"b82b38eb-1ba5-4805-971a-5b3d340d4076","name":"Successful Transaction","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"amount\": 16374,\n  \"token\": {\n    \"id\": \"tok_1GvVkZAJrUlRj7ov4FbCP5Pl\",\n    \"object\": \"token\",\n    \"card\": {\n      \"id\": \"card_1GvVkZAJrUlRj7ovVx6l5nTq\",\n      \"object\": \"card\",\n      \"address_city\": \"River Ridge\",\n      \"address_country\": \"United States\",\n      \"address_line1\": \"1117 Dickory Road\",\n      \"address_line1_check\": \"unchecked\",\n      \"address_line2\": \"Apt. E345\",\n      \"address_state\": \"LA\",\n      \"address_zip\": \"70123\",\n      \"address_zip_check\": \"unchecked\",\n      \"brand\": \"Visa\",\n      \"country\": \"US\",\n      \"cvc_check\": \"unchecked\",\n      \"dynamic_last4\": null,\n      \"exp_month\": 2,\n      \"exp_year\": 2042,\n      \"funding\": \"credit\",\n      \"last4\": 4242,\n      \"metadata\": {},\n      \"name\": \"Jericho Drumm\",\n      \"tokenization_method\": null\n    },\n    \"client_ip\": \"74.136.109.71\",\n    \"created\": 1592517503,\n    \"email\": \"brothervoodoo@email.com\",\n    \"livemode\": false,\n    \"type\": \"card\",\n    \"used\": false,\n    \"domain_name\": \"TESTME\",\n    \"orderToken\": \"order_sDWayn8YYe1bwZd8zoJUmg\"\n  },\n  \"config\": { \"headers\": { \"Content-Type\": \"application/json\" } }\n}","options":{"raw":{"language":"json"}}},"url":"https://merch-dropper.herokuapp.com/api/payments"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Cowboy"},{"key":"Date","value":"Thu, 18 Jun 2020 21:40:29 GMT"},{"key":"Content-Length","value":"506"},{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Cache-Control","value":"no-cache, no-store"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"ch_1GvW1DIkxovrXvApWFnSqyjn\",\n  \"object\": \"charge\",\n  \"amount\": 16374,\n  \"amount_refunded\": 0,\n  \"application\": \"ca_GbPkPOEwM5cWwcBy1WX8mXq7UeB0VlxB\",\n  \"application_fee\": \"fee_1GvW1DIkxovrXvApl0phPS4U\",\n  \"application_fee_amount\": 4140,\n  \"balance_transaction\": \"txn_1GvW1DIkxovrXvApiiZy5kJ8\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"River Ridge\",\n      \"country\": \"United States\",\n      \"line1\": \"1117 Dickory Road, Apt. E345\",\n      \"line2\": null,\n      \"postal_code\": \"70123\",\n      \"state\": \"LA\"\n    },\n    \"email\": null,\n    \"name\": \"Jericho Drumm\",\n    \"phone\": null\n  },\n  \"calculated_statement_descriptor\": \"CHASE\",\n  \"captured\": \"true\",\n  \"created\": 1592518535,\n  \"currency\": \"usd\",\n  \"customer\": null,\n  \"description\": null,\n  \"destination\": null,\n  \"dispute\": null,\n  \"disputed\": false,\n  \"failure_code\": null,\n  \"failure_message\": null,\n  \"fraud_details\": {},\n  \"invoice\": null,\n  \"livemode\": false,\n  \"metadata\": {},\n  \"on_behalf_of\": null,\n  \"order\": null,\n  \"outcome\": {\n    \"network_status\": \"approved_by_network\",\n    \"reason\": null,\n    \"risk_level\": \"normal\",\n    \"risk_score\": 9,\n    \"seller_message\": \"Payment complete.\",\n    \"type\": \"authorized\"\n  },\n  \"paid\": \"true\",\n  \"payment_intent\": null,\n  \"payment_method\": \"card_1GvW1DIkxovrXvApsYlYs8mt\",\n  \"payment_method_details\": {\n    \"card\": {\n      \"brand\": \"visa\",\n      \"checks\": \"[Object]\",\n      \"country\": \"US\",\n      \"exp_month\": 2,\n      \"exp_year\": 2042,\n      \"fingerprint\": \"MDkgOJxKaLE0g5XP\",\n      \"funding\": \"credit\",\n      \"installments\": null,\n      \"last4\": 4242,\n      \"network\": \"visa\",\n      \"three_d_secure\": null,\n      \"wallet\": null\n    },\n    \"type\": \"card\"\n  },\n  \"receipt_email\": \"brothervoodoo@gmail.com\",\n  \"receipt_number\": null,\n  \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1GVlzQIkxovrXvAp/ch_1GvW1DIkxovrXvApWFnSqyjn/rcpt_HUV1FY3ZrNnhKILC6UM2RLbiWmM4H7v\",\n  \"refunded\": false,\n  \"refunds\": {\n    \"object\": \"list\",\n    \"data\": [],\n    \"has_more\": false,\n    \"total_count\": 0,\n    \"url\": \"/v1/charges/ch_1GvW1DIkxovrXvApWFnSqyjn/refunds\"\n  },\n  \"review\": null,\n  \"shipping\": null,\n  \"source\": {\n    \"id\": \"card_1GvW1DIkxovrXvApsYlYs8mt\",\n    \"object\": \"card\",\n    \"address_city\": \"River Ridge\",\n    \"address_country\": \"United States\",\n    \"address_line1\": \"1117 Dickory Road, Apt. E345\",\n    \"address_line1_check\": \"pass\",\n    \"address_line2\": null,\n    \"address_state\": \"LA\",\n    \"address_zip\": \"70123\",\n    \"address_zip_check\": \"pass\",\n    \"brand\": \"Visa\",\n    \"country\": \"US\",\n    \"customer\": null,\n    \"cvc_check\": \"pass\",\n    \"dynamic_last4\": null,\n    \"exp_month\": 2,\n    \"exp_year\": 2042,\n    \"fingerprint\": \"MDkgOJxKaLE0g5XP\",\n    \"funding\": \"credit\",\n    \"last4\": 4242,\n    \"metadata\": {},\n    \"name\": \"Jericho Drumm\",\n    \"tokenization_method\": null\n  },\n  \"source_transfer\": null,\n  \"statement_descriptor\": null,\n  \"statement_descriptor_suffix\": null,\n  \"status\": \"succeeded\",\n  \"transfer_data\": null,\n  \"transfer_group\": null\n}"}],"_postman_id":"8c6793ea-feb7-4f7f-97f5-dced38ade945"}],"id":"c71fe77d-eef6-4f19-89d3-35945bfdc363","description":"<p>Completes order and distributes funds</p>\n","_postman_id":"c71fe77d-eef6-4f19-89d3-35945bfdc363"}],"event":[{"listen":"prerequest","script":{"id":"aed249e3-5bad-4cf2-814e-07a959c6a9c3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7edef150-4c49-4322-8e5b-e0968cab0fd6","type":"text/javascript","exec":[""]}}]}