{ "opencollection": "1.0.0", "info": { "name": "ServiceTitan Accounting Adjustments Customers API", "version": "2.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.servicetitan.io/connect/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.servicetitan.io/accounting/v2/{tenant}/customers", "params": [ { "name": "page", "value": "", "type": "query" }, { "name": "pageSize", "value": "", "type": "query" }, { "name": "includeTotal", "value": "", "type": "query" }, { "name": "ids", "value": "", "type": "query", "description": "Comma-separated list of IDs" }, { "name": "modifiedBefore", "value": "", "type": "query" }, { "name": "modifiedOnOrAfter", "value": "", "type": "query" }, { "name": "createdBefore", "value": "", "type": "query" }, { "name": "createdOnOrAfter", "value": "", "type": "query" } ] }, "docs": "Returns a paginated list of customers matching the provided filters." }, { "info": { "name": "Create Customer", "type": "http" }, "http": { "method": "POST", "url": "https://api.servicetitan.io/accounting/v2/{tenant}/customers", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new customer record in the tenant." }, { "info": { "name": "Get Customer", "type": "http" }, "http": { "method": "GET", "url": "https://api.servicetitan.io/accounting/v2/{tenant}/customers/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Get Customer" }, { "info": { "name": "Update Customer", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.servicetitan.io/accounting/v2/{tenant}/customers/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update Customer" } ] } ], "bundled": true }