{"info":{"_postman_id":"3f4a2ccc-eda8-47c2-9347-787efc77d5d1","name":"AdvertiseIt","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>AdvertiseIt API helps a user do social commerce</p>\n<h1 id=\"overview\">Overview</h1>\n<p>API is Built with Node and Express</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>Json Web Token (JWT)</p>\n<h1 id=\"error-codes\">Error Codes</h1>\n<p><code>400 - Bad Request</code></p>\n<p><code>401 - Unauthorized</code></p>\n<p><code>403 - Forbidden</code></p>\n<p><code>404 - Not found</code></p>\n<p><code>500 - Internal Serval Error</code></p>\n<h1 id=\"rate-limit\">Rate limit</h1>\n<p>No</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"},{"content":"Error Codes","slug":"error-codes"},{"content":"Rate limit","slug":"rate-limit"}],"owner":"4628385","collectionId":"3f4a2ccc-eda8-47c2-9347-787efc77d5d1","publishedId":"SVYjU2s5","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-07-26T11:02:05.000Z"},"item":[{"name":"Authentication - Social Media - Facebook","id":"198decad-37bc-4f93-a700-01f6f903ab79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:3006/api/v1/auth/facebook","urlObject":{"protocol":"http","port":"3006","path":["api","v1","auth","facebook"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"198decad-37bc-4f93-a700-01f6f903ab79"},{"name":"Authentication - Sign up a user","id":"5ee95bcd-a1fc-477a-a11b-6e01b2b33ac2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"role\": \"customer-merchant\",\n    \"email\": \"customer40001@customer.com\",\n    \"password\": \"password\",\n    \"username\": \"customer40001\",\n    \"productsofinterest\": [\n        \"nike\",\n        \"gucci\"\n    ]\n}"},"url":"http://localhost:3006/api/v1/auth/signup","urlObject":{"protocol":"http","port":"3006","path":["api","v1","auth","signup"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"2ca605fb-6de3-4467-b2c2-c3e465dec6a1","name":"Authentication - Sign up a user","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"role\": \"customer-merchant\",\n    \"email\": \"customer40001@customer.com\",\n    \"password\": \"password\",\n    \"username\": \"customer40001\",\n    \"productsofinterest\": [\n        \"nike\",\n        \"gucci\"\n    ]\n}"},"url":"http://localhost:3006/api/v1/auth/signup"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"388"},{"key":"ETag","value":"W/\"184-rckIwcTQu3ggYYZv2aBsCnFauu0\""},{"key":"Date","value":"Sun, 28 Jul 2019 08:42:56 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"data\": {\n        \"message\": \"User created successfully\",\n        \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImN1c3RvbWVyNDAwMDFAY3VzdG9tZXIuY29tIiwidXNlcklkIjoxNSwicm9sZSI6ImN1c3RvbWVyLW1lcmNoYW50IiwidXNlcm5hbWUiOiJjdXN0b21lcjQwMDAxIiwicHJvZHVjdHNvZmludGVyZXN0IjpbIm5pa2UiLCJndWNjaSJdLCJpYXQiOjE1NjQzMDMzNzYsImV4cCI6MTU2NDM4OTc3Nn0.aWmCHjHRbTrHG0pmVZY8Kf73jQYXHHw4Vtbhgh7jQF0\"\n    }\n}"}],"_postman_id":"5ee95bcd-a1fc-477a-a11b-6e01b2b33ac2"},{"name":"Authentication - Login a user","id":"b1a9d032-7c9b-42bd-b2d2-a41c3044d35c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"merchant1@advertiseit.com\",\n  \"password\": \"advertiseitPassword1234567890@@@@@@###!!!\"\n}"},"url":"http://localhost:3006/api/v1/auth/login","urlObject":{"protocol":"http","port":"3006","path":["api","v1","auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"4f2d7bb1-fc8f-47a6-b50f-e6dd96c8bcd9","name":"Authentication - Login a user","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"merchant1@advertiseit.com\",\n  \"password\": \"advertiseitPassword1234567890@@@@@@###!!!\"\n}"},"url":"http://localhost:3006/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"379"},{"key":"ETag","value":"W/\"17b-ZqY0DCYDCidF3XPCp6BqUOgmjiw\""},{"key":"Date","value":"Sun, 28 Jul 2019 08:44:01 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"message\": \"Welcome merchant1\",\n        \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1lcmNoYW50MUBhZHZlcnRpc2VpdC5jb20iLCJ1c2VySWQiOjMsInJvbGUiOiJjdXN0b21lci1tZXJjaGFudCIsInVzZXJuYW1lIjoibWVyY2hhbnQxIiwicHJvZHVjdHNvZmludGVyZXN0IjpbInBob25lcyIsInNvZnR3YXJlIl0sImlhdCI6MTU2NDMwMzQ0MSwiZXhwIjoxNTY0Mzg5ODQxfQ.SGR50DThKL3Qx4C08UzzmBEMg7Vw2Wh84CkSE1FQwYk\"\n    }\n}"}],"_postman_id":"b1a9d032-7c9b-42bd-b2d2-a41c3044d35c"},{"name":"Create a user profile","id":"4f5e17cf-c0cf-4d2b-bfb2-082ab0c82028","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1lcmNoYW50MUBhZHZlcnRpc2VpdC5jb20iLCJ1c2VySWQiOjMsInJvbGUiOiJjdXN0b21lci1tZXJjaGFudCIsInVzZXJuYW1lIjoibWVyY2hhbnQxIiwicHJvZHVjdHNvZmludGVyZXN0IjpbInBob25lcyIsInNvZnR3YXJlIl0sImlhdCI6MTU2NDMwMjEzMiwiZXhwIjoxNTY0Mzg4NTMyfQ.aVXDwfFvs69C0YAQpXpgqCa75EtS1c19UnCnfBhz-Ck"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\"firstName\": \"John\",\n\"lastName\": \"DoeMerchant1\",\n\"image\": \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=800&q=60\",\n\"location\": \"Lagos Island\",\n\"bio\": \"I am a samsumg galaxy mobile phone best seller\",\n\"phone\": \"09099944444\",\n\"storeName\": \"DoeMerchant1Stores\",\n\"bank\": {\n\t\"name\": \"UBA\",\n\t\"accountNumber\": 2093939338,\n\t\"accountName\": \"John DoeMerchant1\"\n},\n\"website\": \"https://johndoemerchant1.johndoe\"\n}"},"url":"http://localhost:3006/api/v1/profile/merchant1","urlObject":{"protocol":"http","port":"3006","path":["api","v1","profile","merchant1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"14a5f444-efc4-468b-8bb8-168042a0f2ea","name":"Create a user profile","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1lcmNoYW50MUBhZHZlcnRpc2VpdC5jb20iLCJ1c2VySWQiOjMsInJvbGUiOiJjdXN0b21lci1tZXJjaGFudCIsInVzZXJuYW1lIjoibWVyY2hhbnQxIiwicHJvZHVjdHNvZmludGVyZXN0IjpbInBob25lcyIsInNvZnR3YXJlIl0sImlhdCI6MTU2NDMwMjEzMiwiZXhwIjoxNTY0Mzg4NTMyfQ.aVXDwfFvs69C0YAQpXpgqCa75EtS1c19UnCnfBhz-Ck"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\"firstName\": \"John\",\n\"lastName\": \"DoeMerchant1\",\n\"image\": \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=800&q=60\",\n\"location\": \"Lagos Island\",\n\"bio\": \"I am a samsumg galaxy mobile phone best seller\",\n\"phone\": \"09099944444\",\n\"storeName\": \"DoeMerchant1Stores\",\n\"bank\": {\n\t\"name\": \"UBA\",\n\t\"accountNumber\": 2093939338,\n\t\"accountName\": \"John DoeMerchant1\"\n},\n\"website\": \"https://johndoemerchant1.johndoe\"\n}"},"url":"http://localhost:3006/api/v1/profile/merchant1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"632"},{"key":"ETag","value":"W/\"278-kD8mV46vA6xkb8k26SPehQACyHc\""},{"key":"Date","value":"Sun, 28 Jul 2019 08:45:28 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"message\": \"User's profile created successfully\",\n        \"profile\": {\n            \"id\": 9,\n            \"firstName\": \"John\",\n            \"lastName\": \"DoeMerchant1\",\n            \"bio\": \"I am a samsumg galaxy mobile phone best seller\",\n            \"phone\": \"09099944444\",\n            \"image\": \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=800&q=60\",\n            \"location\": \"Lagos Island\",\n            \"storeName\": \"DoeMerchant1Stores\",\n            \"bank\": {\n                \"name\": \"UBA\",\n                \"accountNumber\": 2093939338,\n                \"accountName\": \"John DoeMerchant1\"\n            },\n            \"website\": \"https://johndoemerchant1.johndoe\",\n            \"createdAt\": \"2019-07-17T10:36:43.381Z\",\n            \"updatedAt\": \"2019-07-28T08:45:27.558Z\",\n            \"userId\": 3\n        }\n    }\n}"}],"_postman_id":"4f5e17cf-c0cf-4d2b-bfb2-082ab0c82028"},{"name":"View a user's profile","id":"0ea98f65-bba3-42d6-a67c-fc3ab2e7af44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3006/api/v1/profile/merchant1","urlObject":{"protocol":"http","port":"3006","path":["api","v1","profile","merchant1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"cf64e1ab-6061-42d0-802c-72c9c9e3ced8","name":"View a user's profile","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3006/api/v1/profile/merchant1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"747"},{"key":"ETag","value":"W/\"2eb-IkICFQAfvX4l880ga7uoDlzLxOg\""},{"key":"Date","value":"Sun, 28 Jul 2019 08:46:41 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"message\": \"User's profile returned succesfully\",\n        \"user\": {\n            \"id\": 9,\n            \"firstName\": \"John\",\n            \"lastName\": \"DoeMerchant1\",\n            \"phone\": \"09099944444\",\n            \"image\": \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=800&q=60\",\n            \"bio\": \"I am a samsumg galaxy mobile phone best seller\",\n            \"location\": \"Lagos Island\",\n            \"storeName\": \"DoeMerchant1Stores\",\n            \"bank\": {\n                \"name\": \"UBA\",\n                \"accountNumber\": 2093939338,\n                \"accountName\": \"John DoeMerchant1\"\n            },\n            \"website\": \"https://johndoemerchant1.johndoe\",\n            \"createdAt\": \"2019-07-17T10:36:43.381Z\",\n            \"updatedAt\": \"2019-07-28T08:45:27.558Z\",\n            \"role\": \"customer-merchant\",\n            \"email\": \"merchant1@advertiseit.com\",\n            \"username\": \"merchant1\",\n            \"productsofinterest\": [\n                \"phones\",\n                \"software\"\n            ]\n        }\n    }\n}"}],"_postman_id":"0ea98f65-bba3-42d6-a67c-fc3ab2e7af44"},{"name":"Create a product","id":"79a1df74-cb06-453c-8148-9c4076797e77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1lcmNoYW50MUBhZHZlcnRpc2VpdC5jb20iLCJ1c2VySWQiOjMsInJvbGUiOiJjdXN0b21lci1tZXJjaGFudCIsInVzZXJuYW1lIjoibWVyY2hhbnQxIiwicHJvZHVjdHNvZmludGVyZXN0IjpbInBob25lcyIsInNvZnR3YXJlIl0sImlhdCI6MTU2NDMwMzY0MywiZXhwIjoxNTY0MzkwMDQzfQ.qh8OBj9UdnvkJptNGXp5Cp3mpJPNYqMfRoqVPseAekE"}],"body":{"mode":"raw","raw":"{\n\t\"category\": \"Clothing\",\n\t\"subCategory\": \"mens wear\",\n\t\"title\": \"Classy nike sneakers\",\n\t\"description\": \"This sneakers are the latest from nike\",\n\t\"price\": 500000,\n\t\"media\": \"https://images.unsplash.com/photo-1517694712202-14dd9538aa97?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1650&q=80\",\n\t\"tags\": [\"nike\", \"sneakers\"]\n}"},"url":"http://localhost:3006/api/v1/products/merchant1","urlObject":{"protocol":"http","port":"3006","path":["api","v1","products","merchant1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"c2ceb9c9-1f7d-461a-a077-c0d262490e24","name":"Create a product","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1lcmNoYW50MUBhZHZlcnRpc2VpdC5jb20iLCJ1c2VySWQiOjMsInJvbGUiOiJjdXN0b21lci1tZXJjaGFudCIsInVzZXJuYW1lIjoibWVyY2hhbnQxIiwicHJvZHVjdHNvZmludGVyZXN0IjpbInBob25lcyIsInNvZnR3YXJlIl0sImlhdCI6MTU2NDMwMzY0MywiZXhwIjoxNTY0MzkwMDQzfQ.qh8OBj9UdnvkJptNGXp5Cp3mpJPNYqMfRoqVPseAekE"}],"body":{"mode":"raw","raw":"{\n\t\"category\": \"Clothing\",\n\t\"subCategory\": \"mens wear\",\n\t\"title\": \"Classy nike sneakers\",\n\t\"description\": \"This sneakers are the latest from nike\",\n\t\"price\": 500000,\n\t\"media\": \"https://images.unsplash.com/photo-1517694712202-14dd9538aa97?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1650&q=80\",\n\t\"tags\": [\"nike\", \"sneakers\"]\n}"},"url":"http://localhost:3006/api/v1/products/merchant1"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"512"},{"key":"ETag","value":"W/\"200-vl6il33HgUG8Hky5nxw+p9+PFSw\""},{"key":"Date","value":"Sun, 28 Jul 2019 08:47:38 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"data\": {\n        \"message\": \"Product created successfully\",\n        \"product\": {\n            \"isArchived\": false,\n            \"id\": 4,\n            \"category\": \"Clothing\",\n            \"subCategory\": \"mens wear\",\n            \"title\": \"Classy nike sneakers\",\n            \"description\": \"This sneakers are the latest from nike\",\n            \"price\": 500000,\n            \"tags\": [\n                \"nike\",\n                \"sneakers\"\n            ],\n            \"media\": \"https://images.unsplash.com/photo-1517694712202-14dd9538aa97?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1650&q=80\",\n            \"userId\": 3,\n            \"updatedAt\": \"2019-07-28T08:47:35.590Z\",\n            \"createdAt\": \"2019-07-28T08:47:35.590Z\"\n        }\n    }\n}"}],"_postman_id":"79a1df74-cb06-453c-8148-9c4076797e77"},{"name":"Update a product","id":"7b585044-f82f-418d-89b8-bce578d0df41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1lcmNoYW50MUBhZHZlcnRpc2VpdC5jb20iLCJ1c2VySWQiOjMsInJvbGUiOiJjdXN0b21lci1tZXJjaGFudCIsInVzZXJuYW1lIjoibWVyY2hhbnQxIiwicHJvZHVjdHNvZmludGVyZXN0IjpbInBob25lcyIsInNvZnR3YXJlIl0sImlhdCI6MTU2NDMwMzY0MywiZXhwIjoxNTY0MzkwMDQzfQ.qh8OBj9UdnvkJptNGXp5Cp3mpJPNYqMfRoqVPseAekE","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"description\": \"These phones are brand new and goes for a small amount, order while stock lasts\"\n}"},"url":"http://localhost:3006/api/v1/products/merchant1/update/1","urlObject":{"protocol":"http","port":"3006","path":["api","v1","products","merchant1","update","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"be266429-8ee8-42ab-972a-260986bf4c1c","name":"Update a product","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1lcmNoYW50MUBhZHZlcnRpc2VpdC5jb20iLCJ1c2VySWQiOjMsInJvbGUiOiJjdXN0b21lci1tZXJjaGFudCIsInVzZXJuYW1lIjoibWVyY2hhbnQxIiwicHJvZHVjdHNvZmludGVyZXN0IjpbInBob25lcyIsInNvZnR3YXJlIl0sImlhdCI6MTU2NDMwMzY0MywiZXhwIjoxNTY0MzkwMDQzfQ.qh8OBj9UdnvkJptNGXp5Cp3mpJPNYqMfRoqVPseAekE","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"description\": \"These phones are brand new and goes for a small amount, order while stock lasts\"\n}"},"url":"http://localhost:3006/api/v1/products/merchant1/update/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"552"},{"key":"ETag","value":"W/\"228-ixISjtr9KPe7lGwx9I/fAv4RgyE\""},{"key":"Date","value":"Sun, 28 Jul 2019 08:48:11 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"message\": \"Product updated successfully\",\n        \"product\": {\n            \"id\": 1,\n            \"category\": \"Clothing\",\n            \"subCategory\": \"mens wear\",\n            \"title\": \"Classy nike sneakers\",\n            \"description\": \"These phones are brand new and goes for a small amount, order while stock lasts\",\n            \"price\": 50000,\n            \"tags\": [\n                \"nike\",\n                \"sneakers\"\n            ],\n            \"media\": \"https://images.unsplash.com/photo-1517694712202-14dd9538aa97?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1650&q=80\",\n            \"isArchived\": false,\n            \"createdAt\": \"2019-07-20T14:16:08.407Z\",\n            \"updatedAt\": \"2019-07-28T08:48:10.513Z\",\n            \"userId\": 3\n        }\n    }\n}"}],"_postman_id":"7b585044-f82f-418d-89b8-bce578d0df41"},{"name":"Get all products","id":"c0f0f255-fb37-4d7d-b909-1c5b879bfbaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3006/api/v1/products","urlObject":{"protocol":"http","port":"3006","path":["api","v1","products"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"cefda621-1d83-4fd2-b93d-d207f34af749","name":"Get all products","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3006/api/v1/products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1218"},{"key":"ETag","value":"W/\"4c2-ESp/J21aKmp/ApH9WUrLnRsF1P4\""},{"key":"Date","value":"Sun, 28 Jul 2019 08:48:30 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"message\": \"All products returned successfully\",\n        \"products\": {\n            \"count\": 2,\n            \"rows\": [\n                {\n                    \"id\": 4,\n                    \"category\": \"Clothing\",\n                    \"subCategory\": \"mens wear\",\n                    \"title\": \"Classy nike sneakers\",\n                    \"description\": \"This sneakers are the latest from nike\",\n                    \"price\": 500000,\n                    \"tags\": [\n                        \"nike\",\n                        \"sneakers\"\n                    ],\n                    \"media\": \"https://images.unsplash.com/photo-1517694712202-14dd9538aa97?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1650&q=80\",\n                    \"isArchived\": false,\n                    \"createdAt\": \"2019-07-28T08:47:35.590Z\",\n                    \"updatedAt\": \"2019-07-28T08:47:35.590Z\",\n                    \"user\": {\n                        \"email\": \"merchant1@advertiseit.com\",\n                        \"username\": \"merchant1\",\n                        \"productsofinterest\": [\n                            \"phones\",\n                            \"software\"\n                        ]\n                    }\n                },\n                {\n                    \"id\": 1,\n                    \"category\": \"Clothing\",\n                    \"subCategory\": \"mens wear\",\n                    \"title\": \"Classy nike sneakers\",\n                    \"description\": \"These phones are brand new and goes for a small amount, order while stock lasts\",\n                    \"price\": 50000,\n                    \"tags\": [\n                        \"nike\",\n                        \"sneakers\"\n                    ],\n                    \"media\": \"https://images.unsplash.com/photo-1517694712202-14dd9538aa97?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1650&q=80\",\n                    \"isArchived\": false,\n                    \"createdAt\": \"2019-07-20T14:16:08.407Z\",\n                    \"updatedAt\": \"2019-07-28T08:48:10.513Z\",\n                    \"user\": {\n                        \"email\": \"merchant1@advertiseit.com\",\n                        \"username\": \"merchant1\",\n                        \"productsofinterest\": [\n                            \"phones\",\n                            \"software\"\n                        ]\n                    }\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"c0f0f255-fb37-4d7d-b909-1c5b879bfbaf"},{"name":"Delete a product","id":"e64d8a78-0911-45cb-acf8-1cfc285d7bdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","type":"text","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1lcmNoYW50MUBhZHZlcnRpc2VpdC5jb20iLCJ1c2VySWQiOjMsInJvbGUiOiJjdXN0b21lci1tZXJjaGFudCIsInVzZXJuYW1lIjoibWVyY2hhbnQxIiwicHJvZHVjdHNvZmludGVyZXN0IjpbInBob25lcyIsInNvZnR3YXJlIl0sImlhdCI6MTU2NDMwMzY0MywiZXhwIjoxNTY0MzkwMDQzfQ.qh8OBj9UdnvkJptNGXp5Cp3mpJPNYqMfRoqVPseAekE"}],"url":"http://localhost:3006/api/v1/products/merchant1/remove/1","urlObject":{"protocol":"http","port":"3006","path":["api","v1","products","merchant1","remove","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"f40b9823-9488-40ac-b2dd-51f734fad1c1","name":"Delete a product","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","type":"text","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1lcmNoYW50MUBhZHZlcnRpc2VpdC5jb20iLCJ1c2VySWQiOjMsInJvbGUiOiJjdXN0b21lci1tZXJjaGFudCIsInVzZXJuYW1lIjoibWVyY2hhbnQxIiwicHJvZHVjdHNvZmludGVyZXN0IjpbInBob25lcyIsInNvZnR3YXJlIl0sImlhdCI6MTU2NDMwMzY0MywiZXhwIjoxNTY0MzkwMDQzfQ.qh8OBj9UdnvkJptNGXp5Cp3mpJPNYqMfRoqVPseAekE"}],"url":"http://localhost:3006/api/v1/products/merchant1/remove/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"64"},{"key":"ETag","value":"W/\"40-LRL0Mkz5Xi4918rvC5kqsK2QkfA\""},{"key":"Date","value":"Sun, 28 Jul 2019 08:49:09 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"message\": \"Product deleted successfully\"\n    }\n}"}],"_postman_id":"e64d8a78-0911-45cb-acf8-1cfc285d7bdd"},{"name":"Get a specific product of a user","id":"7a2d9ea0-6e5a-4446-a04a-90173db9c432","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3006/api/v1/products/merchant1/specific/4","urlObject":{"protocol":"http","port":"3006","path":["api","v1","products","merchant1","specific","4"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"6121b61e-d5f9-4c6d-8a16-1444b281535c","name":"Get a specific product of a user","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3006/api/v1/products/merchant1/specific/4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"653"},{"key":"ETag","value":"W/\"28d-m54oHTDrrfncr1zwmBQ9puo6wwI\""},{"key":"Date","value":"Sun, 28 Jul 2019 08:49:43 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"message\": \"Specific product of a user returned successfully\",\n        \"product\": {\n            \"count\": 1,\n            \"rows\": [\n                {\n                    \"id\": 4,\n                    \"category\": \"Clothing\",\n                    \"subCategory\": \"mens wear\",\n                    \"title\": \"Classy nike sneakers\",\n                    \"description\": \"This sneakers are the latest from nike\",\n                    \"price\": 500000,\n                    \"tags\": [\n                        \"nike\",\n                        \"sneakers\"\n                    ],\n                    \"media\": \"https://images.unsplash.com/photo-1517694712202-14dd9538aa97?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1650&q=80\",\n                    \"isArchived\": false,\n                    \"createdAt\": \"2019-07-28T08:47:35.590Z\",\n                    \"updatedAt\": \"2019-07-28T08:47:35.590Z\",\n                    \"user\": {\n                        \"email\": \"merchant1@advertiseit.com\",\n                        \"username\": \"merchant1\",\n                        \"productsofinterest\": [\n                            \"phones\",\n                            \"software\"\n                        ]\n                    }\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"7a2d9ea0-6e5a-4446-a04a-90173db9c432"},{"name":"Get all user's products","id":"ebbc3c13-d187-467f-a6ca-1addd540a03d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3006/api/v1/products/all/merchant1","urlObject":{"protocol":"http","port":"3006","path":["api","v1","products","all","merchant1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"5df02644-2d14-4342-ae7a-1cdecad388a4","name":"Get all user's products","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3006/api/v1/products/all/merchant1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"647"},{"key":"ETag","value":"W/\"287-6k3OsA5AdmeVkSlC0BDP+a7aub0\""},{"key":"Date","value":"Sun, 28 Jul 2019 08:50:10 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"message\": \"All user's products returned successfully\",\n        \"products\": {\n            \"count\": 1,\n            \"rows\": [\n                {\n                    \"id\": 4,\n                    \"category\": \"Clothing\",\n                    \"subCategory\": \"mens wear\",\n                    \"title\": \"Classy nike sneakers\",\n                    \"description\": \"This sneakers are the latest from nike\",\n                    \"price\": 500000,\n                    \"tags\": [\n                        \"nike\",\n                        \"sneakers\"\n                    ],\n                    \"media\": \"https://images.unsplash.com/photo-1517694712202-14dd9538aa97?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1650&q=80\",\n                    \"isArchived\": false,\n                    \"createdAt\": \"2019-07-28T08:47:35.590Z\",\n                    \"updatedAt\": \"2019-07-28T08:47:35.590Z\",\n                    \"user\": {\n                        \"email\": \"merchant1@advertiseit.com\",\n                        \"username\": \"merchant1\",\n                        \"productsofinterest\": [\n                            \"phones\",\n                            \"software\"\n                        ]\n                    }\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"ebbc3c13-d187-467f-a6ca-1addd540a03d"},{"name":"Search for products","id":"21fbc0f4-8320-4ba5-bea8-146044807f43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3006/api/v1/products/search?query=clothing","urlObject":{"protocol":"http","port":"3006","path":["api","v1","products","search"],"host":["localhost"],"query":[{"key":"query","value":"clothing"}],"variable":[]}},"response":[{"id":"39d7cb5d-55b7-41b7-b1a9-948b45fb6033","name":"Search for products","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3006/api/v1/products/search?query=clothing","protocol":"http","host":["localhost"],"port":"3006","path":["api","v1","products","search"],"query":[{"key":"query","value":"clothing"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"645"},{"key":"ETag","value":"W/\"285-LvBaUxmg7tMn1K+O5Dp6fj7FVaU\""},{"key":"Date","value":"Sun, 28 Jul 2019 08:50:40 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"message\": \"Searched products returned successfully\",\n        \"products\": {\n            \"count\": 1,\n            \"rows\": [\n                {\n                    \"id\": 4,\n                    \"category\": \"Clothing\",\n                    \"subCategory\": \"mens wear\",\n                    \"title\": \"Classy nike sneakers\",\n                    \"description\": \"This sneakers are the latest from nike\",\n                    \"price\": 500000,\n                    \"tags\": [\n                        \"nike\",\n                        \"sneakers\"\n                    ],\n                    \"media\": \"https://images.unsplash.com/photo-1517694712202-14dd9538aa97?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1650&q=80\",\n                    \"isArchived\": false,\n                    \"createdAt\": \"2019-07-28T08:47:35.590Z\",\n                    \"updatedAt\": \"2019-07-28T08:47:35.590Z\",\n                    \"user\": {\n                        \"email\": \"merchant1@advertiseit.com\",\n                        \"username\": \"merchant1\",\n                        \"productsofinterest\": [\n                            \"phones\",\n                            \"software\"\n                        ]\n                    }\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"21fbc0f4-8320-4ba5-bea8-146044807f43"},{"name":"Archive a product","id":"5f21e175-60c0-4069-8bc2-3fb501962bc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1lcmNoYW50MUBhZHZlcnRpc2VpdC5jb20iLCJ1c2VySWQiOjMsInJvbGUiOiJjdXN0b21lci1tZXJjaGFudCIsInVzZXJuYW1lIjoibWVyY2hhbnQxIiwicHJvZHVjdHNvZmludGVyZXN0IjpbInBob25lcyIsInNvZnR3YXJlIl0sImlhdCI6MTU2NDMwMzY0MywiZXhwIjoxNTY0MzkwMDQzfQ.qh8OBj9UdnvkJptNGXp5Cp3mpJPNYqMfRoqVPseAekE","type":"text"}],"url":"http://localhost:3006/api/v1/products/merchant1/archive/4","urlObject":{"protocol":"http","port":"3006","path":["api","v1","products","merchant1","archive","4"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"e0190db4-bd80-4867-91db-228db5fac8d7","name":"Archive a product","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1lcmNoYW50MUBhZHZlcnRpc2VpdC5jb20iLCJ1c2VySWQiOjMsInJvbGUiOiJjdXN0b21lci1tZXJjaGFudCIsInVzZXJuYW1lIjoibWVyY2hhbnQxIiwicHJvZHVjdHNvZmludGVyZXN0IjpbInBob25lcyIsInNvZnR3YXJlIl0sImlhdCI6MTU2NDMwMzY0MywiZXhwIjoxNTY0MzkwMDQzfQ.qh8OBj9UdnvkJptNGXp5Cp3mpJPNYqMfRoqVPseAekE","type":"text"}],"url":"http://localhost:3006/api/v1/products/merchant1/archive/4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"65"},{"key":"ETag","value":"W/\"41-Qg4ZJ8j4lj1KIczNUuJC96b7Gow\""},{"key":"Date","value":"Sun, 28 Jul 2019 08:51:14 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"message\": \"Product archived successfully\"\n    }\n}"}],"_postman_id":"5f21e175-60c0-4069-8bc2-3fb501962bc4"},{"name":"Get a user's archived products","id":"64c230c0-b163-4b6f-8a23-5ea018c5315b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1lcmNoYW50MUBhZHZlcnRpc2VpdC5jb20iLCJ1c2VySWQiOjMsInJvbGUiOiJjdXN0b21lci1tZXJjaGFudCIsInVzZXJuYW1lIjoibWVyY2hhbnQxIiwicHJvZHVjdHNvZmludGVyZXN0IjpbInBob25lcyIsInNvZnR3YXJlIl0sImlhdCI6MTU2NDMwMzY0MywiZXhwIjoxNTY0MzkwMDQzfQ.qh8OBj9UdnvkJptNGXp5Cp3mpJPNYqMfRoqVPseAekE","type":"text"}],"url":"http://localhost:3006/api/v1/products/merchant1/archived","urlObject":{"protocol":"http","port":"3006","path":["api","v1","products","merchant1","archived"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"76766cc4-0319-4472-8ae9-7fe9a7472173","name":"Get a user's archived products","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1lcmNoYW50MUBhZHZlcnRpc2VpdC5jb20iLCJ1c2VySWQiOjMsInJvbGUiOiJjdXN0b21lci1tZXJjaGFudCIsInVzZXJuYW1lIjoibWVyY2hhbnQxIiwicHJvZHVjdHNvZmludGVyZXN0IjpbInBob25lcyIsInNvZnR3YXJlIl0sImlhdCI6MTU2NDMwMzY0MywiZXhwIjoxNTY0MzkwMDQzfQ.qh8OBj9UdnvkJptNGXp5Cp3mpJPNYqMfRoqVPseAekE","type":"text"}],"url":"http://localhost:3006/api/v1/products/merchant1/archived"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"655"},{"key":"ETag","value":"W/\"28f-xkw8vL/iPgGbBkYlxhbYgMCA8OQ\""},{"key":"Date","value":"Sun, 28 Jul 2019 08:51:45 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"message\": \"All user's archived products returned successfully\",\n        \"products\": {\n            \"count\": 1,\n            \"rows\": [\n                {\n                    \"id\": 4,\n                    \"category\": \"Clothing\",\n                    \"subCategory\": \"mens wear\",\n                    \"title\": \"Classy nike sneakers\",\n                    \"description\": \"This sneakers are the latest from nike\",\n                    \"price\": 500000,\n                    \"tags\": [\n                        \"nike\",\n                        \"sneakers\"\n                    ],\n                    \"media\": \"https://images.unsplash.com/photo-1517694712202-14dd9538aa97?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1650&q=80\",\n                    \"isArchived\": true,\n                    \"createdAt\": \"2019-07-28T08:47:35.590Z\",\n                    \"updatedAt\": \"2019-07-28T08:51:13.267Z\",\n                    \"user\": {\n                        \"email\": \"merchant1@advertiseit.com\",\n                        \"username\": \"merchant1\",\n                        \"productsofinterest\": [\n                            \"phones\",\n                            \"software\"\n                        ]\n                    }\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"64c230c0-b163-4b6f-8a23-5ea018c5315b"},{"name":"Unarchive a user's product","id":"48343781-8c88-4660-b105-e765e7660d7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1lcmNoYW50MUBhZHZlcnRpc2VpdC5jb20iLCJ1c2VySWQiOjMsInJvbGUiOiJjdXN0b21lci1tZXJjaGFudCIsInVzZXJuYW1lIjoibWVyY2hhbnQxIiwicHJvZHVjdHNvZmludGVyZXN0IjpbInBob25lcyIsInNvZnR3YXJlIl0sImlhdCI6MTU2NDMwMzY0MywiZXhwIjoxNTY0MzkwMDQzfQ.qh8OBj9UdnvkJptNGXp5Cp3mpJPNYqMfRoqVPseAekE","type":"text"}],"url":"http://localhost:3006/api/v1/products/merchant1/unarchive/4","urlObject":{"protocol":"http","port":"3006","path":["api","v1","products","merchant1","unarchive","4"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"ad3f8aaf-100c-4587-84ee-29ea2ed6be90","name":"Unarchive a user's product","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im1lcmNoYW50MUBhZHZlcnRpc2VpdC5jb20iLCJ1c2VySWQiOjMsInJvbGUiOiJjdXN0b21lci1tZXJjaGFudCIsInVzZXJuYW1lIjoibWVyY2hhbnQxIiwicHJvZHVjdHNvZmludGVyZXN0IjpbInBob25lcyIsInNvZnR3YXJlIl0sImlhdCI6MTU2NDMwMzY0MywiZXhwIjoxNTY0MzkwMDQzfQ.qh8OBj9UdnvkJptNGXp5Cp3mpJPNYqMfRoqVPseAekE","type":"text"}],"url":"http://localhost:3006/api/v1/products/merchant1/unarchive/4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"67"},{"key":"ETag","value":"W/\"43-duA5ArMaZwwSB7toTYH4xPLl/Ug\""},{"key":"Date","value":"Sun, 28 Jul 2019 08:52:13 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"message\": \"Product unarchived successfully\"\n    }\n}"}],"_postman_id":"48343781-8c88-4660-b105-e765e7660d7e"}]}