{"info":{"_postman_id":"f5d470e0-dc34-471e-918c-7a26d79b5197","name":"Migo","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"20830684","collectionId":"f5d470e0-dc34-471e-918c-7a26d79b5197","publishedId":"2s7Ymz8N6s","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-09-18T10:41:17.000Z"},"item":[{"name":"Fetch All Products","id":"53ca851a-c6c4-4fff-b328-b1e503f6ca81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer 427233a2f257bea54f63dbb800d4c0b10ec7612a","type":"text"}],"url":"https://backpos.herokuapp.com/api/v1/product/","urlObject":{"protocol":"https","path":["api","v1","product",""],"host":["backpos","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"9d90b8f9-9f32-4e5c-a983-f3fe17af23c6","name":"Fetch All Products","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer 427233a2f257bea54f63dbb800d4c0b10ec7612a","type":"text"}],"url":"https://backpos.herokuapp.com/api/v1/product/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Date","value":"Thu, 15 Sep 2022 17:59:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"235"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"name\": \"xiaomi-12-pro-5g\",\n            \"description\": \"https://www.mi.com/in/product/xiaomi-12-pro-5g/\",\n            \"category\": \"phones\",\n            \"price\": \"12345.00\",\n            \"selling_price\": \"14563.00\",\n            \"stock_amount\": 100\n        }\n    ]\n}"}],"_postman_id":"53ca851a-c6c4-4fff-b328-b1e503f6ca81"},{"name":"Search Specific Product","id":"ef0c432e-cc72-4dfb-9907-ff000f75e3bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 427233a2f257bea54f63dbb800d4c0b10ec7612a","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"category\":\"phones\",\n    \"query\": \"0\"\n}","options":{"raw":{"language":"json"}}},"url":"https://backpos.herokuapp.com/api/v1/product/search/","urlObject":{"protocol":"https","path":["api","v1","product","search",""],"host":["backpos","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"0ca9b04b-69db-4508-b94c-9430e90c20e6","name":"Search Specific Product","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 427233a2f257bea54f63dbb800d4c0b10ec7612a","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"category\":\"phones\",\n    \"query\": \"0\"\n}","options":{"raw":{"language":"json"}}},"url":"https://backpos.herokuapp.com/api/v1/product/search/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Date","value":"Thu, 15 Sep 2022 19:57:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"235"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"name\": \"xiaomi-12-pro-5g\",\n            \"description\": \"https://www.mi.com/in/product/xiaomi-12-pro-5g/\",\n            \"category\": \"phones\",\n            \"price\": \"12345.00\",\n            \"selling_price\": \"14563.00\",\n            \"stock_amount\": 100\n        }\n    ]\n}"}],"_postman_id":"ef0c432e-cc72-4dfb-9907-ff000f75e3bd"},{"name":"User Registration","id":"28238133-7b3c-4baa-9e8b-f5fbce6ae5a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"email\": \"hayat@example.com\",\n  \"password1\": \"string123\",\n  \"password2\": \"string123\",\n  \"name\": \"Hayat\",\n  \"account_type\": \"staff\"\n}","options":{"raw":{"language":"json"}}},"url":"https://backpos.herokuapp.com/api/v1/accounts/registration/","urlObject":{"protocol":"https","path":["api","v1","accounts","registration",""],"host":["backpos","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"421acdef-eb34-46d3-9e99-0a45eecf2976","name":"User Registration","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"email\": \"hayat@example.com\",\n  \"password1\": \"string123\",\n  \"password2\": \"string123\",\n  \"name\": \"Hayat\",\n  \"account_type\": \"staff\"\n}","options":{"raw":{"language":"json"}}},"url":"https://backpos.herokuapp.com/api/v1/accounts/registration/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Date","value":"Thu, 15 Sep 2022 20:26:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"151"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Set-Cookie","value":"messages=W1siX19qc29uX21lc3NhZ2UiLDAsMjUsIlN1Y2Nlc3NmdWxseSBzaWduZWQgaW4gYXMgSGF5YXQuIl1d:1oYvRE:hHjB5BoNAE9BSxfHB28KVfiOL1ApOhRtz64cE-j1ufM; HttpOnly; Path=/; SameSite=Lax; Secure"},{"key":"Set-Cookie","value":"c=tJ3vHTciHdRjvMHeeeOXwMdahhGOObaFmec1knLPLzNy8YvY2t0VQvQu10U4WhyF; expires=Thu, 14 Sep 2023 20:26:20 GMT; Max-Age=31449600; Path=/; SameSite=Lax; Secure"},{"key":"Set-Cookie","value":"s=cb859imr85oi9t27g916nbodmjpkfrck; expires=Thu, 29 Sep 2022 20:26:20 GMT; HttpOnly; Max-Age=1209600; Path=/; SameSite=Lax; Secure"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"key\": \"b0dff6b18f06e589a8b79bf416487728abed2b88\",\n    \"user\": {\n        \"id\": 2,\n        \"name\": \"Hayat\",\n        \"email\": \"hayat@example.com\",\n        \"account_type\": \"staff\",\n        \"profile_pic\": null\n    }\n}"}],"_postman_id":"28238133-7b3c-4baa-9e8b-f5fbce6ae5a9"},{"name":"User Login ","id":"dcd547b8-3ceb-488c-a2a4-caa981c44250","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"email\": \"hayat@example.com\",\n  \"password\": \"string123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://backpos.herokuapp.com/api/v1/accounts/login/","urlObject":{"protocol":"https","path":["api","v1","accounts","login",""],"host":["backpos","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"d0c0e010-e4bb-437a-8c83-bc7c7f4a8edf","name":"User Login ","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"email\": \"hayat@example.com\",\n  \"password\": \"string123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://backpos.herokuapp.com/api/v1/accounts/login/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Date","value":"Thu, 15 Sep 2022 21:57:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"151"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Set-Cookie","value":"c=vfm96qjw1l527c0Tc6HJ49ECkMW8wvPL4XUtt5HbFCneJqzt8iCweKC0H5rksQxd; expires=Thu, 14 Sep 2023 21:57:09 GMT; Max-Age=31449600; Path=/; SameSite=Lax; Secure"},{"key":"Set-Cookie","value":"s=cb859imr85oi9t27g916nbodmjpkfrck; expires=Thu, 29 Sep 2022 21:57:09 GMT; HttpOnly; Max-Age=1209600; Path=/; SameSite=Lax; Secure"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"key\": \"b0dff6b18f06e589a8b79bf416487728abed2b88\",\n    \"user\": {\n        \"id\": 2,\n        \"name\": \"Hayat\",\n        \"email\": \"hayat@example.com\",\n        \"account_type\": \"staff\",\n        \"profile_pic\": null\n    }\n}"}],"_postman_id":"dcd547b8-3ceb-488c-a2a4-caa981c44250"},{"name":"Create Invoice","id":"88484cfa-f1d5-47f7-968c-acf6b96d2faa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 37661cc017e21f9c1695f58d91b315993af85fcd","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client_name\": \"Manas\",\n    \"client_email\": \"manas.gupta2019@gmail.com\",\n    \"client_number\": null,\n    \"client_address1\": null,\n    \"client_address2\": null,\n    \"client_zipcode\": null,\n    \"client_place\": null,\n    \"client_country\": null,\n    \"invoice_type\": \"invoice\",\n    \"net_amount\": 34,\n    \"items\": [\n        {\n            \"title\": \"Redmi\",\n            \"quantity\": 3,\n            \"unit_price\": \"12.00\",\n            \"net_amount\": \"36.00\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://backpos.herokuapp.com/api/v1/invoice/","urlObject":{"protocol":"https","path":["api","v1","invoice",""],"host":["backpos","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"6fed8e59-16da-4f9a-8654-3ff4d0a3e986","name":"Create Invoice","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 37661cc017e21f9c1695f58d91b315993af85fcd","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client_name\": \"Manas\",\n    \"client_email\": \"manas.gupta2019@gmail.com\",\n    \"client_number\": null,\n    \"client_address1\": null,\n    \"client_address2\": null,\n    \"client_zipcode\": null,\n    \"client_place\": null,\n    \"client_country\": null,\n    \"invoice_type\": \"invoice\",\n    \"net_amount\": 34,\n    \"items\": [\n        {\n            \"title\": \"Redmi\",\n            \"quantity\": 3,\n            \"unit_price\": \"12.00\",\n            \"net_amount\": \"36.00\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://backpos.herokuapp.com/api/v1/invoice/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Date","value":"Sun, 18 Sep 2022 08:42:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"361"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"invoice_number\": \"order_KJIinCG89GBKuv\",\n    \"client_name\": \"Manas\",\n    \"client_email\": \"manas.gupta2019@gmail.com\",\n    \"client_number\": null,\n    \"client_address1\": null,\n    \"client_address2\": null,\n    \"client_zipcode\": null,\n    \"client_place\": null,\n    \"client_country\": null,\n    \"invoice_type\": \"invoice\",\n    \"net_amount\": 34,\n    \"items\": [\n        {\n            \"title\": \"Redmi\",\n            \"quantity\": 3,\n            \"unit_price\": \"12.00\",\n            \"net_amount\": \"36.00\"\n        }\n    ]\n}"}],"_postman_id":"88484cfa-f1d5-47f7-968c-acf6b96d2faa"},{"name":"Get All Invoice","id":"d5503d92-8bd5-452c-bb34-51c512b36d56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer 37661cc017e21f9c1695f58d91b315993af85fcd","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://backpos.herokuapp.com/api/v1/invoice/","urlObject":{"protocol":"https","path":["api","v1","invoice",""],"host":["backpos","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"22d7daf3-7c97-4690-8dc8-821e211b4f31","name":"Get All Invoice","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer 37661cc017e21f9c1695f58d91b315993af85fcd","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://backpos.herokuapp.com/api/v1/invoice/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Date","value":"Sun, 18 Sep 2022 08:57:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"413"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"invoice_number\": \"order_KJIinCG89GBKuv\",\n            \"client_name\": \"Manas\",\n            \"client_email\": \"manas.gupta2019@gmail.com\",\n            \"client_number\": null,\n            \"client_address1\": null,\n            \"client_address2\": null,\n            \"client_zipcode\": null,\n            \"client_place\": null,\n            \"client_country\": null,\n            \"invoice_type\": \"invoice\",\n            \"net_amount\": 34,\n            \"items\": [\n                {\n                    \"title\": \"Redmi\",\n                    \"quantity\": 3,\n                    \"unit_price\": \"12.00\",\n                    \"net_amount\": \"36.00\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"d5503d92-8bd5-452c-bb34-51c512b36d56"},{"name":"Notifications","id":"267f4ab3-53e6-444a-9ff5-3ee9b566078d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer 37661cc017e21f9c1695f58d91b315993af85fcd","type":"text"}],"url":"https://backpos.herokuapp.com/api/v1/notification/","urlObject":{"protocol":"https","path":["api","v1","notification",""],"host":["backpos","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"267f4ab3-53e6-444a-9ff5-3ee9b566078d"}]}