{"info":{"_postman_id":"46f0e434-7ab8-4cb6-98af-a78998bca5a7","name":"Ecommerce","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"7947887","collectionId":"46f0e434-7ab8-4cb6-98af-a78998bca5a7","publishedId":"TVsuDnso","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-12-22T03:17:45.000Z"},"item":[{"name":"Auth","item":[{"name":"/api/users","id":"5cc3e6f1-15cf-4207-9054-5dcd67a0f45a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\":\"Jhon Doe\",\n    \"email\":\"cc@example.com\",\n    \"password\":\"123456\",\n    \"password_confirmation\":\"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"{{EURL}}/api/users","description":"<p>Register api</p>\n","urlObject":{"path":["api","users"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5cc3e6f1-15cf-4207-9054-5dcd67a0f45a"},{"name":"/api/users/login","event":[{"listen":"test","script":{"id":"acbbf329-2bee-4355-aadf-5a8eb3c1a7ef","exec":["pm.environment.set(\"ETOKEN\",pm.response.json().access_token)"],"type":"text/javascript"}}],"id":"93b09a51-0822-46d3-9626-e6fe61fdc6bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"john@example.com\",\n    \"password\":\"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"{{EURL}}/api/users/login","description":"<p>Login api for user and admin</p>\n","urlObject":{"path":["api","users","login"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"93b09a51-0822-46d3-9626-e6fe61fdc6bd"},{"name":"/api/users/logout","event":[{"listen":"test","script":{"id":"28f068d3-6285-462a-b201-a17a800e5364","exec":["pm.environment.set(\"ETOKEN\",pm.response.json().access_token)"],"type":"text/javascript"}}],"id":"629a37fc-6cb3-4d24-9abb-63bed48c2588","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{EURL}}/api/users/login","description":"<p>Logout for user and admin</p>\n","urlObject":{"path":["api","users","login"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"629a37fc-6cb3-4d24-9abb-63bed48c2588"},{"name":"GET /api/users/profile","id":"f33375ce-f6af-4c63-8a1b-75344a617789","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"GET","header":[],"url":"{{EURL}}/api/users/profile","description":"<p>Get login user profile</p>\n","urlObject":{"path":["api","users","profile"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f33375ce-f6af-4c63-8a1b-75344a617789"},{"name":"/api/users/profile","id":"f30da196-3012-45f5-896e-8f13eddff792","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Jhon Ho\",\n    \"email\": \"john@example.com\",\n    \"password\": \"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"{{EURL}}/api/users/profile","description":"<p>Update login user profile</p>\n","urlObject":{"path":["api","users","profile"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f30da196-3012-45f5-896e-8f13eddff792"},{"name":"/api/config/paypal","id":"32d70c0c-af89-49dc-a444-c6a75b428adf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{EURL}}/api/config/paypal","description":"<p>Get paypal client id</p>\n","urlObject":{"path":["api","config","paypal"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"32d70c0c-af89-49dc-a444-c6a75b428adf"},{"name":"Admin: /api/users","id":"aa34153f-5a9f-4139-a3bb-97bc991ceef5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{EURL}}/api/users","description":"<p>Get all user for admin</p>\n","urlObject":{"path":["api","users"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"aa34153f-5a9f-4139-a3bb-97bc991ceef5"},{"name":"/api/users/:id","id":"f8203180-216a-4ed4-a480-a1840d227c83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"{{EURL}}/api/users/1","description":"<p>Get user profile by id for admin</p>\n","urlObject":{"path":["api","users","1"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f8203180-216a-4ed4-a480-a1840d227c83"},{"name":"Admin: /api/users/:id","id":"305a8e36-6311-445e-a5fd-00c98d868a25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"{{EURL}}/api/users/2","description":"<p>Delete user for admin</p>\n","urlObject":{"path":["api","users","2"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"305a8e36-6311-445e-a5fd-00c98d868a25"},{"name":"Admin: /api/users/:id","id":"c694d8e6-972d-4a19-a443-9fdcead12c1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"PUT","header":[{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"John\",\n    \"email\":\"john@example.com\",\n    \"is_admin\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{EURL}}/api/users/1","description":"<p>Update user for admin</p>\n","urlObject":{"path":["api","users","1"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c694d8e6-972d-4a19-a443-9fdcead12c1a"}],"id":"4be63dd4-d9df-4e47-9651-6148e1f429aa","_postman_id":"4be63dd4-d9df-4e47-9651-6148e1f429aa","description":""},{"name":"Product","item":[{"name":"/api/products","id":"ece83ca8-694d-4c61-be2b-cdf1d25fdd42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"{{EURL}}/api/products?keyword=&pageNumber=","description":"<p>Get all products</p>\n","urlObject":{"path":["api","products"],"host":["{{EURL}}"],"query":[{"key":"keyword","value":""},{"key":"pageNumber","value":""}],"variable":[]}},"response":[],"_postman_id":"ece83ca8-694d-4c61-be2b-cdf1d25fdd42"},{"name":"/api/products","id":"f888955f-2464-4424-8938-a79d0ff589e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"{{EURL}}/api/products","description":"<p>Create new product</p>\n","urlObject":{"path":["api","products"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f888955f-2464-4424-8938-a79d0ff589e3"},{"name":"/api/products/:slug","id":"5ba6c187-081d-4ef3-bd04-95220a95cc76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{EURL}}/api/products/z8b-d0m8i-xc","description":"<p>Get product slug details</p>\n","urlObject":{"path":["api","products","z8b-d0m8i-xc"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5ba6c187-081d-4ef3-bd04-95220a95cc76"},{"name":"/api/products/:id","id":"84feab57-eadd-4409-b40c-4bb8f5031f35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[],"url":"{{EURL}}/api/products/10","description":"<p>Delete product for admin</p>\n","urlObject":{"path":["api","products","10"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"84feab57-eadd-4409-b40c-4bb8f5031f35"},{"name":"/api/products/:id","id":"2b70e1b7-c378-4ee2-9bbc-7c725ba525fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"category_id\" : 1,\n    \"name\": \"Sample name\",\n    \"description\" : \"Sample description\",\n    \"price\" : 0,\n    \"image\" : \"/images/sample.jpg\",\n    \"brand\" : \"Apple\",\n    \"count_stock\" : 10\n}","options":{"raw":{"language":"json"}}},"url":"{{EURL}}/api/products/10","description":"<p>Update product for admin</p>\n","urlObject":{"path":["api","products","10"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2b70e1b7-c378-4ee2-9bbc-7c725ba525fe"},{"name":"/api/products/:id/reviews","id":"ff5a9d97-fcf9-4de7-b5be-75c83d9bf6c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"rating\" : 1,\n    \"comment\": \"Sample name\"\n}","options":{"raw":{"language":"json"}}},"url":"{{EURL}}/api/products/10/reviews","description":"<p>Add review for product</p>\n","urlObject":{"path":["api","products","10","reviews"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ff5a9d97-fcf9-4de7-b5be-75c83d9bf6c3"},{"name":"/api/products/uploads","id":"6baba5b0-8616-4d10-a560-b162a1dff61a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","src":"/Users/kanaiyaaryal/Downloads/sample.jpg"}]},"url":"{{EURL}}/api/products/uploads","description":"<p>Upload image for product</p>\n","urlObject":{"path":["api","products","uploads"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6baba5b0-8616-4d10-a560-b162a1dff61a"},{"name":"/api/products/top","id":"798a5dc3-db09-4f87-9635-4e9063c4f62e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{EURL}}/api/products/top","description":"<p>Get top rated 3 products</p>\n","urlObject":{"path":["api","products","top"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"798a5dc3-db09-4f87-9635-4e9063c4f62e"}],"id":"bdc21b22-7f1e-4029-9183-b78dbf21d1dd","_postman_id":"bdc21b22-7f1e-4029-9183-b78dbf21d1dd","description":""},{"name":"Order","item":[{"name":"/api/orders","id":"6700f6d1-c330-4b2d-8493-9a184fa5b47d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"tax_price\" : 10,\n    \"shipping_price\" : 0,\n    \"total_price\" : 100,\n    \"payment_method\" : \"Paypal\",\n    \"orderItemas\":{\n        \"product_slug\" : \"test-1\",\n        \"name\" : \"test\",\n        \"image\" : \"/uploads/image/sample.jpg\",\n        \"price\" : 100,\n        \"qty\" : 10\n    },\n    \"shippdingAddress\":{\n        \"address\" : \"Toa Payoh\",\n        \"city\" : \"Singapore\",\n        \"country\" : \"Singapore\",\n        \"postal_code\" : \"140032\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{EURL}}/api/orders","description":"<p>Add new order</p>\n","urlObject":{"path":["api","orders"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6700f6d1-c330-4b2d-8493-9a184fa5b47d"},{"name":"Admin: /api/orders","id":"6f6c86aa-ce85-48a3-bdc7-fb6467f6b6b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"GET","header":[],"url":"{{EURL}}/api/orders","description":"<p>Get all order list for admin</p>\n","urlObject":{"path":["api","orders"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f6c86aa-ce85-48a3-bdc7-fb6467f6b6b7"},{"name":"/api/orders/myorders","id":"ab43da3a-30cd-477e-9f28-4538cd7e0574","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"GET","header":[],"url":"{{EURL}}/api/orders/myorders","description":"<p>Get login user order list</p>\n","urlObject":{"path":["api","orders","myorders"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab43da3a-30cd-477e-9f28-4538cd7e0574"},{"name":"/api/orders/:id","id":"dcf938a3-a9a5-4b06-8c64-042d5b79ca73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"GET","header":[],"url":"{{EURL}}/api/orders/4","description":"<p>get order details by id</p>\n","urlObject":{"path":["api","orders","4"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dcf938a3-a9a5-4b06-8c64-042d5b79ca73"},{"name":"/api/orders/:id/pay","id":"4ffe327d-aa1f-4210-bc04-594027dfe757","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\" : \"121sdlkma\",\n    \"status\" : true,\n    \"update_time\" : \"\",\n    \"payer\":{\n        \"email_address\":\"testuser@gmail.com\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{EURL}}/api/orders/4/pay","description":"<p>Update order payment</p>\n","urlObject":{"path":["api","orders","4","pay"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4ffe327d-aa1f-4210-bc04-594027dfe757"},{"name":"/api/orders/:id/deliver","id":"d9f2d9cd-a705-4ebe-9cf4-6787ace91fc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"{{EURL}}/api/orders/4/deliver","description":"<p>Update order deliver for admin</p>\n","urlObject":{"path":["api","orders","4","deliver"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9f2d9cd-a705-4ebe-9cf4-6787ace91fc4"}],"id":"fb8de20b-a7d1-48d3-a300-316c1b0d7c86","_postman_id":"fb8de20b-a7d1-48d3-a300-316c1b0d7c86","description":""},{"name":"Category","item":[{"name":"/api/categories","id":"39963352-83f6-4c54-a9d4-e2c9ce000b8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{EURL}}/api/categories","description":"<p>Get all categories</p>\n","urlObject":{"path":["api","categories"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"39963352-83f6-4c54-a9d4-e2c9ce000b8b"},{"name":"/api/categories","id":"7031a437-32f3-45c9-9dd0-424e82c4cee2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"POST","header":[],"url":"{{EURL}}/api/categories","description":"<p>Create new categories with empty object</p>\n","urlObject":{"path":["api","categories"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7031a437-32f3-45c9-9dd0-424e82c4cee2"},{"name":"/api/categories/:slug","id":"2b554b34-022f-421f-962e-2f04b62c61b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"update category\",\n    \"slug\": \"update-category2\",\n    \"is_visible\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{EURL}}/api/categories/update-category","description":"<p>Create new categories with empty object</p>\n","urlObject":{"path":["api","categories","update-category"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2b554b34-022f-421f-962e-2f04b62c61b9"},{"name":"/api/categories/:id","id":"b55de83d-2f9d-49a1-b1dc-f6ac6e644bd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"update category\",\n    \"slug\": \"update-category2\",\n    \"is_visible\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{EURL}}/api/categories/2","description":"<p>Create new categories with empty object</p>\n","urlObject":{"path":["api","categories","2"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b55de83d-2f9d-49a1-b1dc-f6ac6e644bd6"},{"name":"/api/categories/:id","id":"98fe9fb1-b2e7-477e-bac1-be382751b605","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"DELETE","header":[],"url":"{{EURL}}/api/categories/2","description":"<p>Create new categories with empty object</p>\n","urlObject":{"path":["api","categories","2"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"98fe9fb1-b2e7-477e-bac1-be382751b605"},{"name":"/api/categories/products","id":"df10ef31-446c-4f91-8c4e-bff91bf02e80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"{{EURL}}/api/categories/products?category=sub-category-test&pageNumber=1","description":"<p>Get all products</p>\n","urlObject":{"path":["api","categories","products"],"host":["{{EURL}}"],"query":[{"key":"category","value":"sub-category-test"},{"key":"pageNumber","value":"1"}],"variable":[]}},"response":[],"_postman_id":"df10ef31-446c-4f91-8c4e-bff91bf02e80"}],"id":"22bafaed-8e78-4180-a384-f31819e56e6d","_postman_id":"22bafaed-8e78-4180-a384-f31819e56e6d","description":""},{"name":"Sub Category","item":[{"name":"/api/subCategories","id":"15a0e6c2-1854-4c18-9dff-deb0859cb92e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{EURL}}/api/subCategories","description":"<p>Get all categories</p>\n","urlObject":{"path":["api","subCategories"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"15a0e6c2-1854-4c18-9dff-deb0859cb92e"},{"name":"/api/subCategories","id":"467ac046-01cc-44f4-885f-e2d0794657b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"POST","header":[],"url":"{{EURL}}/api/subCategories","description":"<p>Create new categories with empty object</p>\n","urlObject":{"path":["api","subCategories"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"467ac046-01cc-44f4-885f-e2d0794657b7"},{"name":"/api/subCategories/:slug","id":"fe60d676-24db-4e09-b305-e4e0d34db3db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"GET","header":[],"url":"{{EURL}}/api/subCategories/new-sub-cateogry","description":"<p>Create new categories with empty object</p>\n","urlObject":{"path":["api","subCategories","new-sub-cateogry"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fe60d676-24db-4e09-b305-e4e0d34db3db"},{"name":"/api/subCategories/:id","id":"12843fd7-fe62-460d-91be-f284f15fa74b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"category_id\": 1,\n    \"name\": \"update sub category\",\n    \"slug\": \"sub-category1\",\n    \"is_visible\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{EURL}}/api/subCategories/1","description":"<p>Create new categories with empty object</p>\n","urlObject":{"path":["api","subCategories","1"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"12843fd7-fe62-460d-91be-f284f15fa74b"},{"name":"/api/subCategories/:id","id":"6d8d60a3-88e1-4be2-973f-69163ac6d858","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{ETOKEN}}"},"isInherited":false},"method":"DELETE","header":[],"url":"{{EURL}}/api/subCategories/1","description":"<p>Create new categories with empty object</p>\n","urlObject":{"path":["api","subCategories","1"],"host":["{{EURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6d8d60a3-88e1-4be2-973f-69163ac6d858"}],"id":"c73425c9-0104-4ea0-b01d-de357aa33461","_postman_id":"c73425c9-0104-4ea0-b01d-de357aa33461","description":""}]}