{"info":{"_postman_id":"ab1ad6ea-c38f-4252-a5a0-2cb9049dbc9a","name":"crm","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"27455440","collectionId":"ab1ad6ea-c38f-4252-a5a0-2cb9049dbc9a","publishedId":"2sB2cbbeeL","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-04-16T19:38:39.000Z"},"item":[{"name":"users","item":[{"name":"add-users","id":"c3e8e3aa-6682-4aa4-ba54-3f41e6172d0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"root@example.com\",\r\n  \"password\": \"SecurePass123\",\r\n  \"firstName\": \"Jane\",\r\n  \"lastName\": \"Doe\",\r\n  \"role\": \"admin\",\r\n  \"status\": \"active\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/users/","urlObject":{"protocol":"http","port":"8000","path":["api","users",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3e8e3aa-6682-4aa4-ba54-3f41e6172d0c"},{"name":"get-all-users","id":"f7ad110f-9dba-4282-af3f-a9ffb81a41f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"hello@example.com\",\r\n  \"password\": \"SecurePass123\",\r\n  \"firstName\": \"Jane\",\r\n  \"lastName\": \"Doe\",\r\n  \"role\": \"admin\",\r\n  \"status\": \"active\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/users/all/","urlObject":{"protocol":"http","port":"8000","path":["api","users","all",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f7ad110f-9dba-4282-af3f-a9ffb81a41f3"},{"name":"get-user","id":"03233c48-5f5b-42ee-9e08-df18561ae9c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"hello@example.com\",\r\n  \"password\": \"SecurePass123\",\r\n  \"firstName\": \"Jane\",\r\n  \"lastName\": \"Doe\",\r\n  \"role\": \"admin\",\r\n  \"status\": \"active\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/users/67f9494ba59dee1a10304b3d/","urlObject":{"protocol":"http","port":"8000","path":["api","users","67f9494ba59dee1a10304b3d",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"03233c48-5f5b-42ee-9e08-df18561ae9c2"},{"name":"update-user","id":"e82eff00-1f74-4dcf-943a-b5e3ff546fd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"hello@example.com\",\r\n  \"password\": \"SecurePass123\",\r\n  \"firstName\": \"Jane\",\r\n  \"lastName\": \"Doe\",\r\n  \"role\": \"superAdmin\",\r\n  \"status\": \"active\",\r\n  \"planId\": 1\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/users/67f9494ba59dee1a10304b3d/update/","urlObject":{"protocol":"http","port":"8000","path":["api","users","67f9494ba59dee1a10304b3d","update",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e82eff00-1f74-4dcf-943a-b5e3ff546fd5"},{"name":"delete-user","id":"fffee393-6f9e-43a2-a721-0c4d9e4e0eba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"hello@example.com\",\r\n  \"password\": \"SecurePass123\",\r\n  \"firstName\": \"Jane\",\r\n  \"lastName\": \"Doe\",\r\n  \"role\": \"superAdmin\",\r\n  \"status\": \"active\",\r\n  \"planId\": 1\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/users/67f94e875ee50baf04a79f05/delete/","urlObject":{"protocol":"http","port":"8000","path":["api","users","67f94e875ee50baf04a79f05","delete",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"fffee393-6f9e-43a2-a721-0c4d9e4e0eba"},{"name":"get-current-user","id":"57cd038d-ed96-45c5-a678-c39f7410fa15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"57cd038d-ed96-45c5-a678-c39f7410fa15"}],"id":"0653a105-ca69-4fbd-8877-6e861a963ab1","_postman_id":"0653a105-ca69-4fbd-8877-6e861a963ab1","description":""},{"name":"customers","item":[{"name":"add-customer","id":"a948097f-5070-4044-881a-b7d05c65c40d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\"firstName\": \"New\",\r\n\"lastName\": \"Customer\",\r\n\"email\": \"customer2@example.com\",\r\n\"phoneNumber\": \"+1234567890\",\r\n\"address\": {\r\n\"street\": \"123 Main St\",\r\n\"city\": \"Anytown\",\r\n\"state\": \"CA\",\r\n\"postalCode\": \"12345\",\r\n\"country\": \"USA\"\r\n},\r\n\"status\": \"active\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/customers/","urlObject":{"protocol":"http","port":"8000","path":["api","customers",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a948097f-5070-4044-881a-b7d05c65c40d"},{"name":"get-all-customer","id":"e5256be7-0caf-4d86-abc8-e4c9954ef8ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"hello@example.com\",\r\n  \"password\": \"SecurePass123\",\r\n  \"firstName\": \"Jane\",\r\n  \"lastName\": \"Doe\",\r\n  \"role\": \"admin\",\r\n  \"status\": \"active\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/customers/all/","urlObject":{"protocol":"http","port":"8000","path":["api","customers","all",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e5256be7-0caf-4d86-abc8-e4c9954ef8ce"},{"name":"get-customer","id":"e3d1061c-ed90-4c62-a97a-6aead5c7d480","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"hello@example.com\",\r\n  \"password\": \"SecurePass123\",\r\n  \"firstName\": \"Jane\",\r\n  \"lastName\": \"Doe\",\r\n  \"role\": \"admin\",\r\n  \"status\": \"active\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/customers/67fe8bcd342da1b659723a77/","urlObject":{"protocol":"http","port":"8000","path":["api","customers","67fe8bcd342da1b659723a77",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e3d1061c-ed90-4c62-a97a-6aead5c7d480"},{"name":"update-customer","id":"d95cc5a7-7671-4031-8ce4-183c903cb867","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\"firstName\": \"New\",\r\n\"lastName\": \"Customer\",\r\n\"email\": \"customer1@example.com\",\r\n\"phoneNumber\": \"+1234567890\",\r\n\"address\": {\r\n\"street\": \"123 Main St\",\r\n\"city\": \"PP\",\r\n\"state\": \"CA\",\r\n\"postalCode\": \"12345\",\r\n\"country\": \"USA\"\r\n},\r\n\"status\": \"active\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/customers/update/67fe8bcd342da1b659723a77/","urlObject":{"protocol":"http","port":"8000","path":["api","customers","update","67fe8bcd342da1b659723a77",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d95cc5a7-7671-4031-8ce4-183c903cb867"},{"name":"delete-customer","id":"26eb65f8-386b-40b5-a421-172eefd3c3f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"hello@example.com\",\r\n  \"password\": \"SecurePass123\",\r\n  \"firstName\": \"Jane\",\r\n  \"lastName\": \"Doe\",\r\n  \"role\": \"superAdmin\",\r\n  \"status\": \"active\",\r\n  \"planId\": 1\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/customers/delete/67fe8e16083920a3c88577f4/","urlObject":{"protocol":"http","port":"8000","path":["api","customers","delete","67fe8e16083920a3c88577f4",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"26eb65f8-386b-40b5-a421-172eefd3c3f7"},{"name":"get-user-customer","id":"86fe971e-5c3a-4fbb-adf6-724bbbea4d94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/api/users/<str:user_id>/customers/","urlObject":{"protocol":"http","port":"8000","path":["api","users","<str:user_id>","customers",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"86fe971e-5c3a-4fbb-adf6-724bbbea4d94"}],"id":"a28590d1-fd26-49d4-a924-04d30e6db35d","_postman_id":"a28590d1-fd26-49d4-a924-04d30e6db35d","description":""},{"name":"plans","item":[{"name":"add-plans","id":"0f8cd5eb-ed9c-4aa1-a051-9c7dc7c3d060","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":" {\r\n    \"name\": \"Legacy Plan\",\r\n    \"description\": \"Deprecated legacy plan no longer offered.\",\r\n    \"price\": 19.99,\r\n    \"billingCycle\": \"monthly\",\r\n    \"features\": {\r\n      \"data\": 10,\r\n      \"calls\": 200,\r\n      \"sms\": 100,\r\n      \"speed\": 15\r\n    },\r\n    \"status\": \"deprecated\"\r\n  }","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/plans/","urlObject":{"protocol":"http","port":"8000","path":["api","plans",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f8cd5eb-ed9c-4aa1-a051-9c7dc7c3d060"},{"name":"get-all-plans","id":"5279ca5f-44a5-4361-bec2-5f9440d1fc32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"hello@example.com\",\r\n  \"password\": \"SecurePass123\",\r\n  \"firstName\": \"Jane\",\r\n  \"lastName\": \"Doe\",\r\n  \"role\": \"admin\",\r\n  \"status\": \"active\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/plans/all/","urlObject":{"protocol":"http","port":"8000","path":["api","plans","all",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5279ca5f-44a5-4361-bec2-5f9440d1fc32"},{"name":"get-plans","id":"f0edb33f-6b43-4491-a380-2fd8aba95479","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"hello@example.com\",\r\n  \"password\": \"SecurePass123\",\r\n  \"firstName\": \"Jane\",\r\n  \"lastName\": \"Doe\",\r\n  \"role\": \"admin\",\r\n  \"status\": \"active\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/plans/67fe92ed02f88a6d37f2454a/","urlObject":{"protocol":"http","port":"8000","path":["api","plans","67fe92ed02f88a6d37f2454a",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f0edb33f-6b43-4491-a380-2fd8aba95479"},{"name":"update-plans","id":"4c90139c-7a87-4ef6-a59f-8f696ef684f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":" {\r\n    \"name\": \"Enterprise Plan\",\r\n    \"description\": \"Best for large-scale usage with priority support.\",\r\n    \"price\": 99.99,\r\n    \"billingCycle\": \"yearly\",\r\n    \"features\": {\r\n      \"data\": 100,\r\n      \"calls\": 10000,\r\n      \"sms\": 5000,\r\n      \"speed\": 100\r\n    },\r\n    \"status\": \"active\"\r\n  }","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/plans/update/67fe92ed02f88a6d37f2454a/","urlObject":{"protocol":"http","port":"8000","path":["api","plans","update","67fe92ed02f88a6d37f2454a",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4c90139c-7a87-4ef6-a59f-8f696ef684f7"},{"name":"delete-plans","id":"05a6ea37-dde5-4de7-80af-1549d08b8c6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"hello@example.com\",\r\n  \"password\": \"SecurePass123\",\r\n  \"firstName\": \"Jane\",\r\n  \"lastName\": \"Doe\",\r\n  \"role\": \"superAdmin\",\r\n  \"status\": \"active\",\r\n  \"planId\": 1\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/plans/delete/67fe92e602f88a6d37f24549/","urlObject":{"protocol":"http","port":"8000","path":["api","plans","delete","67fe92e602f88a6d37f24549",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"05a6ea37-dde5-4de7-80af-1549d08b8c6b"}],"id":"f419796b-1cc4-4b89-8c75-8a9c6f6abb94","_postman_id":"f419796b-1cc4-4b89-8c75-8a9c6f6abb94","description":""},{"name":"subscription","item":[{"name":"add-sub","id":"a2c802e6-7cfc-454e-8079-0e8f10398cb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":" {\r\n    \"customerId\": \"6617f34f6a8b2c9a75f3cabc\",\r\n    \"planId\": \"6617f3546a8b2c9a75f3cadf\",\r\n    \"status\": \"active\",\r\n    \"startDate\": \"2025-04-11T00:00:00Z\",\r\n    \"endDate\": \"2025-05-11T00:00:00Z\",\r\n    \"autoRenew\": true\r\n  }","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/sub/","urlObject":{"protocol":"http","port":"8000","path":["api","sub",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a2c802e6-7cfc-454e-8079-0e8f10398cb9"},{"name":"get-all-sub","id":"fa993bee-ddcb-47b3-af89-d7e86041f17a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"hello@example.com\",\r\n  \"password\": \"SecurePass123\",\r\n  \"firstName\": \"Jane\",\r\n  \"lastName\": \"Doe\",\r\n  \"role\": \"admin\",\r\n  \"status\": \"active\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/sub/all/","urlObject":{"protocol":"http","port":"8000","path":["api","sub","all",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"fa993bee-ddcb-47b3-af89-d7e86041f17a"},{"name":"get-sub","id":"a4c54250-e22e-47b1-bd91-d2cbe70fb9ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"hello@example.com\",\r\n  \"password\": \"SecurePass123\",\r\n  \"firstName\": \"Jane\",\r\n  \"lastName\": \"Doe\",\r\n  \"role\": \"admin\",\r\n  \"status\": \"active\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/sub/67fe9861f2af2bc3e93f5e99/","urlObject":{"protocol":"http","port":"8000","path":["api","sub","67fe9861f2af2bc3e93f5e99",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a4c54250-e22e-47b1-bd91-d2cbe70fb9ff"},{"name":"update-sub","id":"f42c57d9-5d36-4e82-9621-04c10845fd61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"customerId\": \"6617f36a6a8b2c9a75f3cae0\",\r\n    \"planId\": \"6617f37b6a8b2c9a75f3cae5\",\r\n    \"status\": \"pending\",\r\n    \"startDate\": \"2025-04-13T00:00:00Z\",\r\n    \"endDate\": \"2025-05-13T00:00:00Z\",\r\n    \"autoRenew\": false\r\n  }","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/sub/update/67fe9861f2af2bc3e93f5e99/","urlObject":{"protocol":"http","port":"8000","path":["api","sub","update","67fe9861f2af2bc3e93f5e99",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f42c57d9-5d36-4e82-9621-04c10845fd61"},{"name":"delete-sub","id":"14e63c58-e26f-44b4-8450-c207667e0081","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"hello@example.com\",\r\n  \"password\": \"SecurePass123\",\r\n  \"firstName\": \"Jane\",\r\n  \"lastName\": \"Doe\",\r\n  \"role\": \"superAdmin\",\r\n  \"status\": \"active\",\r\n  \"planId\": 1\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/sub/delete/67fe9860f2af2bc3e93f5e98/","urlObject":{"protocol":"http","port":"8000","path":["api","sub","delete","67fe9860f2af2bc3e93f5e98",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"14e63c58-e26f-44b4-8450-c207667e0081"}],"id":"e91a3b23-9c0d-42c6-8ae3-ae07ec15bf0e","_postman_id":"e91a3b23-9c0d-42c6-8ae3-ae07ec15bf0e","description":""},{"name":"invoices","item":[{"name":"add-invoice","id":"21788964-55d4-4cab-a511-54cf9094e0ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":" {\r\n  \"customerId\": \"6617f36a6a8b2c9a75f3cae0\",\r\n  \"subscriptionId\": \"6618a10d6a8b2c9a75f3cb11\",\r\n  \"amount\": 239.99,\r\n  \"status\": \"unpaid\",\r\n  \"issueDate\": \"2025-04-11T00:00:00Z\",\r\n  \"dueDate\": \"2025-04-25T00:00:00Z\",\r\n  \"items\": [\r\n    {\r\n      \"description\": \"Monthly Plan - April 2025\",\r\n      \"amount\": 239.99\r\n    }\r\n  ],\r\n  \"paymentMethod\": \"credit_card\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/invoices/","urlObject":{"protocol":"http","port":"8000","path":["api","invoices",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"21788964-55d4-4cab-a511-54cf9094e0ea"},{"name":"get-all-invoice","id":"5ee40e97-46be-4271-8413-e0a6404bcbcc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"hello@example.com\",\r\n  \"password\": \"SecurePass123\",\r\n  \"firstName\": \"Jane\",\r\n  \"lastName\": \"Doe\",\r\n  \"role\": \"admin\",\r\n  \"status\": \"active\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/invoices/all/","urlObject":{"protocol":"http","port":"8000","path":["api","invoices","all",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5ee40e97-46be-4271-8413-e0a6404bcbcc"},{"name":"get-invoice","id":"7c994a86-e3b4-4f41-bb49-d9857ff68c16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"hello@example.com\",\r\n  \"password\": \"SecurePass123\",\r\n  \"firstName\": \"Jane\",\r\n  \"lastName\": \"Doe\",\r\n  \"role\": \"admin\",\r\n  \"status\": \"active\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/invoices/67fe9e495b02d21b160139c3/","urlObject":{"protocol":"http","port":"8000","path":["api","invoices","67fe9e495b02d21b160139c3",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7c994a86-e3b4-4f41-bb49-d9857ff68c16"},{"name":"update-invoice","id":"edc7c2ef-b223-4f7f-993e-7517ed96e505","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"customerId\": \"6617f36a6a8b2c9a75f3cae0\",\r\n  \"subscriptionId\": \"6618a10d6a8b2c9a75f3cb11\",\r\n  \"amount\": 112.99,\r\n  \"status\": \"unpaid\",\r\n  \"issueDate\": \"2025-04-11T00:00:00Z\",\r\n  \"dueDate\": \"2025-04-25T00:00:00Z\",\r\n  \"items\": [\r\n    {\r\n      \"description\": \"Monthly Plan - April 2025\",\r\n      \"amount\": 112.99\r\n    }\r\n  ],\r\n  \"paymentMethod\": \"credit_card\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/invoices/update/67fe9e495b02d21b160139c3/","urlObject":{"protocol":"http","port":"8000","path":["api","invoices","update","67fe9e495b02d21b160139c3",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"edc7c2ef-b223-4f7f-993e-7517ed96e505"},{"name":"delete-invoice","id":"5d978452-03c4-42c7-821f-443b99425d46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"hello@example.com\",\r\n  \"password\": \"SecurePass123\",\r\n  \"firstName\": \"Jane\",\r\n  \"lastName\": \"Doe\",\r\n  \"role\": \"superAdmin\",\r\n  \"status\": \"active\",\r\n  \"planId\": 1\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/invoices/delete/67fe9e694ffdd72ca5b0f9f7/","urlObject":{"protocol":"http","port":"8000","path":["api","invoices","delete","67fe9e694ffdd72ca5b0f9f7",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5d978452-03c4-42c7-821f-443b99425d46"}],"id":"097e81ca-9c2f-4d9c-a2ca-1c17a2c0e23a","_postman_id":"097e81ca-9c2f-4d9c-a2ca-1c17a2c0e23a","description":""},{"name":"auth","item":[{"name":"login","id":"fae9e09b-7e86-40e2-a8d0-26ec66309b27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n      \"email\": \"root@example.com\",\r\n      \"password\": \"SecurePass123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/auth/login/","urlObject":{"protocol":"http","port":"8000","path":["auth","login",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"fae9e09b-7e86-40e2-a8d0-26ec66309b27"},{"name":"logout","id":"b471eb9e-7d7b-4e96-8e9f-34d6b321ce0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n      \"email\": \"root@example.com\",\r\n      \"password\": \"SecurePass123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/auth/login/","urlObject":{"protocol":"http","port":"8000","path":["auth","login",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b471eb9e-7d7b-4e96-8e9f-34d6b321ce0f"}],"id":"f50ea128-0e8b-41a4-a5df-2379721c21a9","_postman_id":"f50ea128-0e8b-41a4-a5df-2379721c21a9","description":""},{"name":"support tickets","item":[{"name":"add-tickets","id":"eb9d0c05-7039-4d04-9825-fc92575e2ac0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"customerId\": \"67ffb6e6e08062852da52dc9\",\r\n  \"subject\": \"Billing Issue\",\r\n  \"description\": \"I have noticed a discrepancy in my recent invoice amount and need clarification.\",\r\n  \"status\": \"in_progress\",\r\n  \"priority\": \"medium\",\r\n  \"category\": \"billing\",\r\n  \"assignedTo\": \"67ff9b01ddcbbcc8312e6e56\",\r\n  \"messages\": [\r\n    {\r\n      \"sender\": \"customer\",\r\n      \"senderId\": \"67ffb6e6e08062852da52dc9\",\r\n      \"message\": \"I noticed an unexpected charge in my bill.\"\r\n    }\r\n  ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/tickets/","urlObject":{"protocol":"http","port":"8000","path":["api","tickets",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"eb9d0c05-7039-4d04-9825-fc92575e2ac0"},{"name":"get-all-tickets","id":"e7d65b61-95ae-441b-bb2e-5fd699c6d377","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"e7d65b61-95ae-441b-bb2e-5fd699c6d377"},{"name":"get-ticket","id":"581ad84b-9647-4e57-a22a-092f0c5d8dcd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/api/tickets/67ffe4d362c3a593232f8d59/","urlObject":{"protocol":"http","port":"8000","path":["api","tickets","67ffe4d362c3a593232f8d59",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"581ad84b-9647-4e57-a22a-092f0c5d8dcd"},{"name":"update-ticket","id":"a3945660-dff0-4e9c-b037-c6208f7921b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"customerId\": \"67ffb6e6e0062852da52dc\",\r\n  \"subject\": \"Billing Issuess\",\r\n  \"description\": \"I have noticed a discrepancy in my recent invoice amount and need clarification. please help me\",\r\n  \"status\": \"resolved\",\r\n  \"priority\": \"low\",\r\n  \"category\": \"billingss\",\r\n  \"assignedTo\": \"67ffef564f05612374f9c7bf\",\r\n  \"messages\": [\r\n    {\r\n      \"sender\": \"customers\",\r\n      \"senderId\": \"67ffb6e6e0062852da52dc\",\r\n      \"message\": \"I noticed an unexpected charge in my sbil.\"\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/tickets/67ffe4d362c3a593232f8d59/update/","urlObject":{"protocol":"http","port":"8000","path":["api","tickets","67ffe4d362c3a593232f8d59","update",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a3945660-dff0-4e9c-b037-c6208f7921b6"},{"name":"update-message-ticket","id":"64b042a9-e54f-440e-9851-d400ace3bb3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":" \r\n {\r\n    \"sender\": [\r\n        \"\\\"['customer']\\\" is not a valid choice.\"\r\n    ],\r\n    \"senderId\": [\r\n        \"Not a valid string.\"\r\n    ],\r\n    \"message\": [\r\n        \"Not a valid string.\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/tickets/67ffe4d362c3a593232f8d59/messages/","urlObject":{"protocol":"http","port":"8000","path":["api","tickets","67ffe4d362c3a593232f8d59","messages",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"64b042a9-e54f-440e-9851-d400ace3bb3c"}],"id":"44d91fa9-098e-42b2-8585-d4fd28111c26","_postman_id":"44d91fa9-098e-42b2-8585-d4fd28111c26","description":""},{"name":"transactions","item":[{"name":"add-transaction","id":"027e5279-c81c-4a9e-8c53-04a6a44df77b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"customerId\": \"67ffb6e6e08062852da52dc9\",\r\n  \"invoiceId\": \"67ffb869e08062852da52dcb\",\r\n  \"amount\": 239.99,\r\n  \"type\": \"payment\",\r\n   \"date\": \"2025-04-16T10:25:30Z\",\r\n  \"status\": \"completed\",\r\n  \"paymentMethod\": {\r\n    \"type\": \"credit_card\",\r\n    \"lastFour\": \"4242\",\r\n    \"cardType\": \"visa\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/transactions/","urlObject":{"protocol":"http","port":"8000","path":["api","transactions",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"027e5279-c81c-4a9e-8c53-04a6a44df77b"},{"name":"get-all-transactions","id":"f27cb3ba-0802-47a3-94cb-dfd94d9c2f02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/api/transactions/all/","urlObject":{"protocol":"http","port":"8000","path":["api","transactions","all",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f27cb3ba-0802-47a3-94cb-dfd94d9c2f02"},{"name":"get-customer-transactions","id":"0ccd7232-5cff-4d56-8645-7b3d3f33416d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/api/customers/67ffb6e6e08062852da52dc9/transactions/","urlObject":{"protocol":"http","port":"8000","path":["api","customers","67ffb6e6e08062852da52dc9","transactions",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0ccd7232-5cff-4d56-8645-7b3d3f33416d"}],"id":"0788e75f-0019-4c69-a3ea-d29fa05fc05d","_postman_id":"0788e75f-0019-4c69-a3ea-d29fa05fc05d","description":""},{"name":"payment methods","item":[{"name":"add-payment","id":"eeb302d7-5ab8-4121-92e6-7cad799a724e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"customerId\": \"67ffb6e6e08062852da52dc9\",\r\n  \"type\": \"credit_card\",\r\n  \"cardType\": \"Visa\",\r\n  \"lastFour\": \"4242\",\r\n  \"expiryDate\": \"2026-08\",\r\n  \"isDefault\": true\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/payment-methods/","urlObject":{"protocol":"http","port":"8000","path":["api","payment-methods",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"eeb302d7-5ab8-4121-92e6-7cad799a724e"},{"name":"get-customer-payment","id":"06ebee4d-cbce-4ccb-a8a0-0f3004d9ba04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/api/customers/67ffb6e6e08062852da52dc9/payment-methods/","urlObject":{"protocol":"http","port":"8000","path":["api","customers","67ffb6e6e08062852da52dc9","payment-methods",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"06ebee4d-cbce-4ccb-a8a0-0f3004d9ba04"},{"name":"delete-customer-payment","id":"4a0f8a98-b24f-482b-ba0e-c9ec66777b34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8000/api/payment-methods/67ffe91262c3a593232f8d5a/delete/","urlObject":{"protocol":"http","port":"8000","path":["api","payment-methods","67ffe91262c3a593232f8d5a","delete",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4a0f8a98-b24f-482b-ba0e-c9ec66777b34"}],"id":"5645846f-7d8f-469c-9043-fcadde4c3ffa","_postman_id":"5645846f-7d8f-469c-9043-fcadde4c3ffa","description":""},{"name":"audit-logs","item":[{"name":"get-audit-logs","id":"8240ccb1-0bd2-480e-9781-6b060ce132e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/audit-logs/all/","urlObject":{"protocol":"http","port":"8000","path":["api","audit-logs","all",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8240ccb1-0bd2-480e-9781-6b060ce132e5"},{"name":"add-audit-logs","id":"a238f55c-4b87-4bd0-be34-24dbdf4871c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userId\": \"67ff9c95ddcbbcc8312e6e58\",\r\n  \"action\": \"update\",\r\n  \"resourceType\": \"support_ticket\",\r\n  \"resourceId\": \"67ffe4d362c3a593232f8d59\",\r\n  \"details\": {\r\n    \"status\": {\r\n      \"old\": \"open\",\r\n      \"new\": \"in_progress\"\r\n    },\r\n    \"assignedTo\": {\r\n      \"old\": null,\r\n      \"new\": \"67ffef564f05612374f9c7bf\"\r\n    }\r\n  },\r\n  \"ipAddress\": \"192.168.1.10\",\r\n  \"severity\": \"high\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/audit-logs/","urlObject":{"protocol":"http","port":"8000","path":["api","audit-logs",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a238f55c-4b87-4bd0-be34-24dbdf4871c7"}],"id":"2a2c966e-9a7c-42b1-ac58-8b3107b627a7","_postman_id":"2a2c966e-9a7c-42b1-ac58-8b3107b627a7","description":""},{"name":"network_status","item":[{"name":"get-all-network","id":"30353d4a-1cf0-4539-9848-062147aad296","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/api/network/status/all/","urlObject":{"protocol":"http","port":"8000","path":["api","network","status","all",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"30353d4a-1cf0-4539-9848-062147aad296"},{"name":"add-network","id":"f9f7624f-ae30-42d3-8e65-f10f1618570d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"serviceType\": \"API Gateway\",\r\n  \"status\": \"degraded\",\r\n  \"region\": \"us-east-1\",\r\n  \"details\": \"High latency observed in API responses across multiple endpoints.\",\r\n  \"affectedUsers\": 250\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/network/status/","urlObject":{"protocol":"http","port":"8000","path":["api","network","status",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f9f7624f-ae30-42d3-8e65-f10f1618570d"},{"name":"update-network","id":"24f7bdb7-70dd-4157-97e6-1082a271d11b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"serviceType\": \"API Gateway\",\r\n  \"status\": \"degraded\",\r\n  \"region\": \"us-east-1\",\r\n  \"details\": \"High latency observed in API responses across multiple endpoints\",\r\n  \"affectedUsers\": 250\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/network/status/67fff6d3f336eaca13d1bbd7/update/","urlObject":{"protocol":"http","port":"8000","path":["api","network","status","67fff6d3f336eaca13d1bbd7","update",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"24f7bdb7-70dd-4157-97e6-1082a271d11b"}],"id":"2e5e0ece-e6a8-4568-80f7-08558211922c","_postman_id":"2e5e0ece-e6a8-4568-80f7-08558211922c","description":""},{"name":"system-settings","item":[{"name":"get-system-setting","id":"b4f7c7e1-c4c3-49ca-894f-4563862f22c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/api/settings/","urlObject":{"protocol":"http","port":"8000","path":["api","settings",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b4f7c7e1-c4c3-49ca-894f-4563862f22c1"},{"name":"get-cat-setting","id":"4bf96b18-5b59-409c-8bd8-1e2246c968c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/api/settings/general/","urlObject":{"protocol":"http","port":"8000","path":["api","settings","general",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4bf96b18-5b59-409c-8bd8-1e2246c968c9"},{"name":"update-setting","id":"66d163ff-78d0-41fe-866c-cc250e6d5f4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"category\": \"email\",\r\n  \"settings\": {\r\n    \"smtpHost\": \"smtp.example.com\",\r\n    \"smtpPort\": 587,\r\n    \"useTls\": true,\r\n    \"fromAddress\": \"noreply@example.com\"\r\n  },\r\n  \"updatedBy\": \"67ff9c74ddcbbcc8312e6e57\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/settings/update/","urlObject":{"protocol":"http","port":"8000","path":["api","settings","update",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"66d163ff-78d0-41fe-866c-cc250e6d5f4d"}],"id":"3f7eb17a-bab1-4de1-8fdb-59d6e799b7c8","_postman_id":"3f7eb17a-bab1-4de1-8fdb-59d6e799b7c8","description":""}]}