{"info":{"_postman_id":"1e9ac785-4696-45a5-a512-6bdf8c09d787","name":"E commerce API V1","description":"<html><head></head><body><p>Fundementals for E commerce API </p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"3096316","collectionId":"1e9ac785-4696-45a5-a512-6bdf8c09d787","publishedId":"S1Zw8qeU","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-06-28T08:28:03.000Z"},"item":[{"name":"Products","item":[{"name":"Products All","id":"9fdd546e-c0b6-4b0d-b23a-06dfccc33339","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\" : \"Iphone X\",\n\t\"description\" : \"mobile smart phone\",\n\t\"price\" : 5000,\n\t\"stock\" : 150,\n\t\"discount\" : 25\n}"},"url":"http://e-commerce-api.test/api/products","description":"<p>View request product list with this endpoint</p>\n","urlObject":{"protocol":"http","path":["api","products"],"host":["e-commerce-api","test"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"9fdd546e-c0b6-4b0d-b23a-06dfccc33339"},{"name":"Product Show","id":"3febf8c4-b482-4235-9671-71c3a13435ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://e-commerce-api.test/api/products/7","urlObject":{"protocol":"http","path":["api","products","7"],"host":["e-commerce-api","test"],"query":[],"variable":[]}},"response":[],"_postman_id":"3febf8c4-b482-4235-9671-71c3a13435ca"},{"name":"Product Create","id":"467488c2-9a72-452b-bfeb-e43857126013","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\n\t\"name\" : \"test\",\n\t\"description\" : \"best mobile smart phone brand\",\n\t\"price\" : 3000,\n\t\"stock\" : 100,\n\t\"discount\" : 10\n}"},"url":"http://e-commerce-api.test/api/products","urlObject":{"protocol":"http","path":["api","products"],"host":["e-commerce-api","test"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"467488c2-9a72-452b-bfeb-e43857126013"},{"name":"Product Update","id":"c4c7da4c-5a5d-4901-8c3b-20f33ba03e2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\" : \"Samsung s9 update\",\n\t\"description\" : \"best mobile smart phone brand updated\",\n\t\"price\" : 3000,\n\t\"stock\" : 100,\n\t\"discount\" : 10\n}"},"url":"http://e-commerce-api.test/api/products/4","urlObject":{"protocol":"http","path":["api","products","4"],"host":["e-commerce-api","test"],"query":[],"variable":[]}},"response":[],"_postman_id":"c4c7da4c-5a5d-4901-8c3b-20f33ba03e2b"},{"name":"Product Delete","id":"9d597921-4873-431d-9d28-d0083da145e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://e-commerce-api.test/api/products/8","urlObject":{"protocol":"http","path":["api","products","8"],"host":["e-commerce-api","test"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d597921-4873-431d-9d28-d0083da145e0"}],"id":"04cdf23e-0cea-4654-b315-c2529282eed9","_postman_id":"04cdf23e-0cea-4654-b315-c2529282eed9","description":""},{"name":"Reviews","item":[{"name":"Reviews All","id":"438820fa-4181-48d5-bc88-f7442eb53788","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://e-commerce-api.test/api/products/1/reviews","urlObject":{"protocol":"http","path":["api","products","1","reviews"],"host":["e-commerce-api","test"],"query":[],"variable":[]}},"response":[],"_postman_id":"438820fa-4181-48d5-bc88-f7442eb53788"},{"name":"Reviews Create","id":"ab1dd513-ebaf-4f51-b48c-963d828c4200","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\n\t\"review\" : \"güzel\",\n\t\"customer\" : \"melih\",\n\t\"star\" : 4\n}"},"url":"http://e-commerce-api.test/api/products/1/reviews","urlObject":{"protocol":"http","path":["api","products","1","reviews"],"host":["e-commerce-api","test"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"ab1dd513-ebaf-4f51-b48c-963d828c4200"},{"name":"Reviews Update","id":"100f1df9-d9b9-4efb-9a26-a27c72e5561f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\n\t\"review\" : \"değişti\",\n\t\"customer\" : \"melih\",\n\t\"star\" : 5\n}"},"url":"http://e-commerce-api.test/api/products/1/reviews/11","urlObject":{"protocol":"http","path":["api","products","1","reviews","11"],"host":["e-commerce-api","test"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"100f1df9-d9b9-4efb-9a26-a27c72e5561f"},{"name":"Reviews Delete","id":"3c3915b4-da40-4419-b6e4-fcc40bebe132","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\n\t\"review\" : \"değişti\",\n\t\"customer\" : \"melih\",\n\t\"star\" : 5\n}"},"url":"http://e-commerce-api.test/api/products/1/reviews/5","urlObject":{"protocol":"http","path":["api","products","1","reviews","5"],"host":["e-commerce-api","test"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"3c3915b4-da40-4419-b6e4-fcc40bebe132"}],"id":"0e54369a-fa4b-47fe-adbf-b73e234d3276","_postman_id":"0e54369a-fa4b-47fe-adbf-b73e234d3276","description":""},{"name":"OAuth","item":[{"name":"Get Token","id":"7a3faee1-7d71-4d31-a41b-009d0ffa9519","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"grant_type\" : \"password\",\n\t\"client_id\" : \"2\",\n\t\"client_secret\" : \"sMgnPOnBIVBIuGOegvPY3byXjq5Eqbk9lO0GYd9d\",\n\t\"username\" : \"towne.wilfred@example.net\",\n\t\"password\" : \"12345678\"\n\t\n}"},"url":"http://e-commerce-api.test/oauth/token","urlObject":{"protocol":"http","path":["oauth","token"],"host":["e-commerce-api","test"],"query":[],"variable":[]}},"response":[],"_postman_id":"7a3faee1-7d71-4d31-a41b-009d0ffa9519"},{"name":"User","id":"015b4f87-ce95-4bb8-b381-5481cccbcf48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://e-commerce-api.test/api/user","urlObject":{"protocol":"http","path":["api","user"],"host":["e-commerce-api","test"],"query":[],"variable":[]}},"response":[],"_postman_id":"015b4f87-ce95-4bb8-b381-5481cccbcf48"}],"id":"8106f5fd-df98-489c-8eb6-2254859f95ca","_postman_id":"8106f5fd-df98-489c-8eb6-2254859f95ca","description":""}],"event":[{"listen":"prerequest","script":{"id":"ef8c17e1-bcb4-4289-bda4-cd85b2989e27","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"224c1467-e0eb-4e4f-8c8b-d6b3036e4880","type":"text/javascript","exec":[""]}}]}