{ "opencollection": "1.0.0", "info": { "name": "Tropic Contracts API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Contracts", "type": "folder" }, "items": [ { "info": { "name": "List Contracts", "type": "http" }, "http": { "method": "GET", "url": "https://api.tropicapp.io/v1/contracts", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number for pagination" }, { "name": "per_page", "value": "", "type": "query", "description": "Number of results per page" }, { "name": "status", "value": "", "type": "query", "description": "Filter by contract status" }, { "name": "supplier_id", "value": "", "type": "query", "description": "Filter by supplier ID" } ] }, "docs": "Returns a paginated list of all contracts in the organization." }, { "info": { "name": "Create Contract", "type": "http" }, "http": { "method": "POST", "url": "https://api.tropicapp.io/v1/contracts", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new contract record." }, { "info": { "name": "Get Contract", "type": "http" }, "http": { "method": "GET", "url": "https://api.tropicapp.io/v1/contracts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Contract ID" } ] }, "docs": "Returns a single contract by ID." }, { "info": { "name": "Update Contract", "type": "http" }, "http": { "method": "PUT", "url": "https://api.tropicapp.io/v1/contracts/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an existing contract." }, { "info": { "name": "Delete Contract", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.tropicapp.io/v1/contracts/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Deletes a contract record." } ] } ], "bundled": true }