{ "opencollection": "1.0.0", "info": { "name": "Service Fusion Open Calendar Tasks Customers API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://api.servicefusion.com/oauth/access_token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Customers", "type": "folder" }, "items": [ { "info": { "name": "List customers", "type": "http" }, "http": { "method": "GET", "url": "https://api.servicefusion.com/v1/customers", "params": [ { "name": "filters", "value": "", "type": "query", "description": "Field filters, expressed as filters[field]=value (for example filters[status]=open). Repeat for multiple fields." }, { "name": "sort", "value": "", "type": "query", "description": "Sort field, optionally prefixed with - for descending order (for example sort=-start_date). Required on /jobs list requests." }, { "name": "expand", "value": "", "type": "query", "description": "Comma-separated list of related resources to inline in the response." }, { "name": "page", "value": "", "type": "query", "description": "1-based page number for pagination." }, { "name": "per-page", "value": "", "type": "query", "description": "Number of records per page." } ] }, "docs": "Lists customer accounts. Supports filtering, sorting, field expansion, and pagination." }, { "info": { "name": "Create a customer", "type": "http" }, "http": { "method": "POST", "url": "https://api.servicefusion.com/v1/customers", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new customer account." }, { "info": { "name": "Retrieve a customer", "type": "http" }, "http": { "method": "GET", "url": "https://api.servicefusion.com/v1/customers/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." }, { "name": "expand", "value": "", "type": "query", "description": "Comma-separated list of related resources to inline in the response." } ] }, "docs": "Retrieves a single customer account by ID." } ] } ], "bundled": true }