{ "info": { "_postman_id": "YOUR_POSTMAN_ID", "name": "Customer API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "GET /api/customers", "request": { "method": "GET", "header": [ { "key": "Authorization", "value": "Bearer {{JWT_TOKEN}}", "type": "text" } ], "url": { "raw": "{{API_URL}}/api/customers", "host": [ "{{API_URL}}" ], "path": [ "api", "customers" ] } }, "response": [] }, { "name": "GET /api/customers/:id", "request": { "method": "GET", "header": [ { "key": "Authorization", "value": "Bearer {{JWT_TOKEN}}", "type": "text" } ], "url": { "raw": "{{API_URL}}/api/customers/:id", "host": [ "{{API_URL}}" ], "path": [ "api", "customers", ":id" ], "variable": [ { "key": "id", "value": "" } ] } }, "response": [] }, { "name": "GET /api/customers/company/:companyId", "request": { "method": "GET", "header": [ { "key": "Authorization", "value": "Bearer {{JWT_TOKEN}}", "type": "text" } ], "url": { "raw": "{{API_URL}}/api/customers/company/:companyId", "host": [ "{{API_URL}}" ], "path": [ "api", "customers", "company", ":companyId" ], "variable": [ { "key": "companyId", "value": "" } ] } }, "response": [] }, { "name": "POST /api/customers", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "Bearer {{JWT_TOKEN}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"name\": \"\",\n\t\"companyId\": \"\",\n\t\"ownerUserID\": \"\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API_URL}}/api/customers", "host": [ "{{API_URL}}" ], "path": [ "api", "customers" ] } }, "response": [] }, { "name": "PUT /api/customers/:id", "request": { "method": "PUT", "header": [ { "key": "Authorization", "value": "Bearer {{JWT_TOKEN}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"name\": \"\",\n\t\"companyId\": \"\",\n\t\"ownerUserID\": \"\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API_URL}}/api/customers/:id", "host": [ "{{API_URL}}" ], "path": [ "api", "customers", ":id" ], "variable": [ { "key": "id", "value": "" } ] } }, "response": [] }, { "name": "DELETE /api/customers/:id", "request": { "method": "DELETE", "header": [ { "key": "Authorization", "value": "Bearer {{JWT_TOKEN}}", "type": "text" } ], "url": { "raw": "{{API_URL}}/api/customers/:id", "host": [ "{{API_URL}}" ], "path": [ "api", "customers", ":id" ], "variable": [ { "key": "id", "value": "" } ] } }, "response": [] } ] }