{"info":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"3768689","collectionId":"92daf81c-17c4-4de8-939e-d48c94c126a0","publishedId":"UVeAu8qD","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-01-26T19:31:29.000Z"},"item":[{"name":"Auth","item":[{"name":"Get Auth Token","id":"624246a2-7bfb-41f9-a2ac-bc049ec49b7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"admin@testmail.com","type":"text"},{"key":"password","value":"admin","type":"text"},{"key":"token_name","value":"Postman_token","type":"text"}]},"url":"localhost/api/login","urlObject":{"path":["login"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"624246a2-7bfb-41f9-a2ac-bc049ec49b7f"}],"id":"cde4c580-23b7-4ec0-ab06-7fa102d8e337","_postman_id":"cde4c580-23b7-4ec0-ab06-7fa102d8e337","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}}},{"name":"Customers","item":[{"name":"New Customer","id":"3ce17ec5-0d3e-4c18-a807-7e44b53ea7c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"João da Silva","description":"<p>Customer's name</p>\n","type":"text"},{"key":"email","value":"js@testmail.com","description":"<p>Customer's email address</p>\n","type":"text"},{"key":"phone","value":"8532548898","description":"<p>Customers phone number</p>\n","type":"text"},{"key":"birthday","value":"2020-01-01","description":"<p>Customer's birthday</p>\n","type":"text"}]},"url":"localhost/api/customers","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["customers"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3ce17ec5-0d3e-4c18-a807-7e44b53ea7c7"},{"name":"List Customers","id":"86b1dd19-b7bd-4362-a468-88cae4f75b99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"localhost/api/customers","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["customers"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"86b1dd19-b7bd-4362-a468-88cae4f75b99"},{"name":"Get Customer","id":"0ee5e391-875e-409a-90c7-fd063543cfb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"localhost/api/customers/1","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["customers","1"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0ee5e391-875e-409a-90c7-fd063543cfb9"},{"name":"Get Customer's Purchases","id":"2383a344-1f7d-4848-aef6-6907290613d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"localhost/api/customers/3/purchases","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["customers","3","purchases"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"2383a344-1f7d-4848-aef6-6907290613d9"},{"name":"Update Customer","id":"58e53143-a700-4934-bcd2-f5e8e458bedd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Israel R Pinheiro","type":"text"},{"key":"email","value":"israel.pinheiro@live.com","type":"text"},{"key":"phone","value":"85991520250","type":"text"},{"key":"birthday","value":"1990-08-15","type":"text"},{"key":"_method","value":"PUT","description":"<p>Special value to inform Laravel to use the PUT route</p>\n","type":"text"}]},"url":"localhost/api/customers/1","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["customers","1"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"58e53143-a700-4934-bcd2-f5e8e458bedd"},{"name":"Delete Customer","id":"565f6ae4-cbec-4726-9600-94c0ce20b6fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"localhost/api/customers/6","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["customers","6"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"565f6ae4-cbec-4726-9600-94c0ce20b6fe"}],"id":"2e0fc87b-7422-4c8e-9c34-dcbabe7a872f","_postman_id":"2e0fc87b-7422-4c8e-9c34-dcbabe7a872f","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}}},{"name":"Products","item":[{"name":"New Product","id":"f0e062e8-b513-4456-9cd6-e526ecc8dd44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Switch Lite","description":"<p>Product's name</p>\n","type":"text"},{"key":"sku","value":"6364255","description":"<p>The Product's SKU(Stock Keeping Unit)</p>\n","type":"text"},{"key":"description","value":"The console itself is a tablet that can either be docked for use as a home console or used as a portable device, making it a hybrid console. Its wireless Joy-Con controllers, with standard buttons and directional analog sticks for user input, motion sensing, and tactile feedback, can attach to both sides of the console to support handheld-style play","description":"<p>The Product's description</p>\n","type":"text"},{"key":"in_stock","value":"3","description":"<p>How many of this product are in stock initially</p>\n","type":"text"},{"key":"supplier_id","value":"3","description":"<p>Id of the Supplier for this Product</p>\n","type":"text"},{"key":"price","value":"199.00","description":"<p>Initial price of the product</p>\n","type":"text"}]},"url":"localhost/api/products","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["products"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f0e062e8-b513-4456-9cd6-e526ecc8dd44"},{"name":"List Products","id":"108bdce8-add2-47a0-ad04-734c53554c2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"localhost/api/products","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["products"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"108bdce8-add2-47a0-ad04-734c53554c2e"},{"name":"Get Product","id":"575b9a8a-3290-4ffe-ac47-4491c90ec2b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"localhost/api/products/4","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["products","4"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"575b9a8a-3290-4ffe-ac47-4491c90ec2b8"},{"name":"Get Product's Supplier","id":"a855c63f-764c-4e3d-8d0c-19d31af47e78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"localhost/api/products/1/supplier","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["products","1","supplier"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a855c63f-764c-4e3d-8d0c-19d31af47e78"},{"name":"Update Product","id":"1ebf266c-3f60-49ec-adf0-ebd717109653","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Microsoft Xbox Series S","description":"<p>Product's name</p>\n","type":"text"},{"key":"sku","value":"6430277","description":"<p>The Product's SKU(Stock Keeping Unit)</p>\n","type":"text"},{"key":"description","value":"The Xbox Series S is comparable in its hardware to the Xbox Series X, similar to how the Xbox One S relates to the Xbox One X, but has less processing power. While it runs the same CPU with slightly slower clock frequencies, it uses a slower GPU","description":"<p>Description of the product</p>\n","type":"text"},{"key":"in_stock","value":"5","description":"<p>Remaining number of products in stock</p>\n","type":"text"},{"key":"supplier_id","value":"1","description":"<p>Product's suplier id</p>\n","type":"text"},{"key":"price","value":"259.00","description":"<p>The product's price</p>\n","type":"text"},{"key":"_method","value":"PUT","description":"<p>Special value to inform Laravel to use the PUT route</p>\n","type":"text"}]},"url":"localhost/api/products/2","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["products","2"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"1ebf266c-3f60-49ec-adf0-ebd717109653"},{"name":"Delete Product","id":"6ff61559-4c97-476c-b5a0-5f75b8230eea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"localhost/api/products/3","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["products","3"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ff61559-4c97-476c-b5a0-5f75b8230eea"}],"id":"877b7dc7-3552-4025-b0f5-8157d738113a","_postman_id":"877b7dc7-3552-4025-b0f5-8157d738113a","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}}},{"name":"Suppliers","item":[{"name":"New Supplier","id":"29dd13a1-a341-46a9-9df7-1437f12234dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer 1|SiO5Aq0Nv1OrGAGUqI7nrXu85GdqXZj4OguVqgis","description":"<p>Authorization Token</p>\n","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Advanced Micro Devices, Inc","description":"<p>Supplier's name</p>\n","type":"text"},{"key":"email","value":"sales@amd.com","description":"<p>Supplier's email address</p>\n","type":"text"}]},"url":"localhost/api/suppliers","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["suppliers"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"29dd13a1-a341-46a9-9df7-1437f12234dd"},{"name":"List Suppliers","id":"c450c1a4-fa3f-465e-b5da-b264f31b4497","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"localhost/api/suppliers","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["suppliers"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c450c1a4-fa3f-465e-b5da-b264f31b4497"},{"name":"Get Supplier","id":"f75d7afb-52d0-4cbb-b628-f34f9f26a536","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"localhost/api/suppliers/1","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["suppliers","1"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f75d7afb-52d0-4cbb-b628-f34f9f26a536"},{"name":"Update Supplier","id":"3f7584f9-6c57-4826-ac48-4a201e4999f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Microsoft","description":"<p>Supplier's name</p>\n","type":"text"},{"key":"email","value":"play@microsoft.com","description":"<p>Supplier's email address</p>\n","type":"text"},{"key":"_method","value":"PUT","description":"<p>Special value to inform Laravel to use the PUT route</p>\n","type":"text"}]},"url":"localhost/api/suppliers/2","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["suppliers","2"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3f7584f9-6c57-4826-ac48-4a201e4999f6"},{"name":"Delete Supplier","id":"c2b15d13-63be-4f05-95ad-1ac1bebb10ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"localhost/api/suppliers/2","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["suppliers","2"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c2b15d13-63be-4f05-95ad-1ac1bebb10ef"},{"name":"Get Supplier's Products","id":"7f9e65d9-5859-4661-ba3b-5d1c4ff0163f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"localhost/api/suppliers/2/products","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["suppliers","2","products"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7f9e65d9-5859-4661-ba3b-5d1c4ff0163f"}],"id":"d7b01bb0-543b-40ae-b04a-57fc57d1fec5","_postman_id":"d7b01bb0-543b-40ae-b04a-57fc57d1fec5","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}}},{"name":"Sales","item":[{"name":"New Sale","id":"f2e37d81-abc5-486b-bbe7-c291261b93d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"customer_id","value":"1","description":"<p>ID of the customer making the purchase</p>\n","type":"text"}]},"url":"localhost/api/sales","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["sales"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2e37d81-abc5-486b-bbe7-c291261b93d2"},{"name":"List Sales","id":"eca98ae6-cb61-44cc-b9e2-87a63981b6bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"localhost/api/sales","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["sales"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"eca98ae6-cb61-44cc-b9e2-87a63981b6bb"},{"name":"Get Supplier","id":"eb792af1-b126-40c0-8232-f61fd9c68410","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"localhost/api/suppliers/1","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["suppliers","1"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"eb792af1-b126-40c0-8232-f61fd9c68410"},{"name":"Update Supplier","id":"a6f6601e-1d78-41c9-a9b4-914cd71923e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Microsoft","description":"<p>Supplier's name</p>\n","type":"text"},{"key":"email","value":"play@microsoft.com","description":"<p>Supplier's email address</p>\n","type":"text"},{"key":"_method","value":"PUT","description":"<p>Special value to inform Laravel to use the PUT route</p>\n","type":"text"}]},"url":"localhost/api/suppliers/2","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["suppliers","2"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6f6601e-1d78-41c9-a9b4-914cd71923e1"},{"name":"Delete Supplier","id":"7aad1490-cbef-4dd3-a8cf-aef65cfd8eeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"localhost/api/suppliers/2","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["suppliers","2"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7aad1490-cbef-4dd3-a8cf-aef65cfd8eeb"},{"name":"Close Sale","id":"34afea8e-4dae-4f8d-b932-8a9955c758dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"localhost/api/sales/1/close","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["sales","1","close"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"34afea8e-4dae-4f8d-b932-8a9955c758dd"},{"name":"Get Sale's Products","id":"62dfc620-5616-4daf-a30c-14e1e5a100bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"localhost/api/sales/1/products","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["sales","1","products"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"62dfc620-5616-4daf-a30c-14e1e5a100bb"},{"name":"Add Product to Sale","id":"b4b52b49-66e4-40fc-90bb-07261284e47c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"product_id","value":"2","description":"<p>Id of the product being added</p>\n","type":"text"},{"key":"units","value":"1","description":"<p>Units sold on this sale</p>\n","type":"text"}]},"url":"localhost/api/sales/1/products","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["sales","1","products"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b4b52b49-66e4-40fc-90bb-07261284e47c"},{"name":"Remove Product from Sale","id":"169171e9-d97d-4230-bf90-f775037e8982","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"product_id","value":"4","description":"<p>Special value to inform Laravel to use the DELETE route</p>\n","type":"text"},{"key":"_method","value":"DELETE","type":"text"}]},"url":"localhost/api/sales/1/products","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["sales","1","products"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"169171e9-d97d-4230-bf90-f775037e8982"}],"id":"7e7d942d-9708-456c-a567-9c9d9487f315","_postman_id":"7e7d942d-9708-456c-a567-9c9d9487f315","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}}},{"name":"Users","item":[{"name":"New User","id":"4ee4568d-e481-484e-9559-d60b4a5e9f7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Israel Reis Pinheiro","description":"<p>User's name</p>\n","type":"text"},{"key":"email","value":"israel.pinheiro@live.com","description":"<p>User's email address</p>\n","type":"text"},{"key":"password","value":"P@ssw0rd","description":"<p>Password</p>\n","type":"text"},{"key":"password_confirmation","value":"P@ssw0rd","description":"<p>Password Confirmation</p>\n","type":"text"}]},"url":"localhost/api/users","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["users"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"4ee4568d-e481-484e-9559-d60b4a5e9f7f"},{"name":"List Users","id":"3b2a5398-ef38-412f-ae95-7ef734bf9bac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"localhost/api/users","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["users"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b2a5398-ef38-412f-ae95-7ef734bf9bac"},{"name":"Get User","id":"af20c5a9-23ba-4747-a909-59db2fcb794a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"localhost/api/users/1","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["users","1"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"af20c5a9-23ba-4747-a909-59db2fcb794a"},{"name":"Update User","id":"105e874b-a717-47e9-b7b5-e8dc3cb237be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Israel Reis Pinheiro","description":"<p>User's name</p>\n","type":"text"},{"key":"email","value":"israel.pinheiro@live.com","description":"<p>User's email address</p>\n","type":"text"},{"key":"password","value":"P@ssw0rd","description":"<p>Password</p>\n","type":"text"},{"key":"password_confirmation","value":"P@ssw0rd","description":"<p>Password Confirmation</p>\n","type":"text"},{"key":"_method","value":"PUT","description":"<p>Special value to inform Laravel to use the PUT route</p>\n","type":"text"}]},"url":"localhost/api/users/1","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["users","1"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"105e874b-a717-47e9-b7b5-e8dc3cb237be"},{"name":"Delete User","id":"c3f14f4c-1729-4c56-b696-f72c996c1a35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"localhost/api/users/2","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["users","2"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3f14f4c-1729-4c56-b696-f72c996c1a35"},{"name":"List User's Tokens","id":"314c586a-88cc-4a1a-90c2-46360fb12d82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"localhost/api/users/1/tokens","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}},"urlObject":{"path":["users","1","tokens"],"host":["localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"314c586a-88cc-4a1a-90c2-46360fb12d82"}],"id":"81e344e2-f9ba-4202-a686-019aaadf17f2","_postman_id":"81e344e2-f9ba-4202-a686-019aaadf17f2","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"92daf81c-17c4-4de8-939e-d48c94c126a0","id":"92daf81c-17c4-4de8-939e-d48c94c126a0","name":"NoPing Assessment","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]}},"event":[{"listen":"prerequest","script":{"id":"959fe4ce-31ff-43ce-96e8-2632dd333012","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3b516be2-50d3-4455-bf4d-283099a66d4b","type":"text/javascript","exec":[""]}}],"variable":[{"key":"base_api_url","value":"localhost/api","type":"string"},{"key":"auth_token","value":"1|SiO5Aq0Nv1OrGAGUqI7nrXu85GdqXZj4OguVqgis","type":"string"}]}