{ "opencollection": "1.0.0", "info": { "name": "EZRentOut Assets Customers API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "token", "value": "{{token}}", "placement": "header" } }, "items": [ { "info": { "name": "Customers", "type": "folder" }, "items": [ { "info": { "name": "List customers", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.ezrentout.com/customers.api", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number for paginated list results (default 1)." } ] }, "docs": "List customers" }, { "info": { "name": "Create a customer", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.ezrentout.com/customers.api", "body": { "type": "json", "data": "{}" } }, "docs": "Create a customer" }, { "info": { "name": "Get customer details", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.ezrentout.com/customers/:customerId.api", "params": [ { "name": "customerId", "value": "", "type": "path", "description": "The customer ID." } ] }, "docs": "Get customer details" }, { "info": { "name": "Update a customer", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.ezrentout.com/customers/:customerId.api", "params": [ { "name": "customerId", "value": "", "type": "path", "description": "The customer ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a customer" }, { "info": { "name": "Delete a customer", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.ezrentout.com/customers/:customerId.api", "params": [ { "name": "customerId", "value": "", "type": "path", "description": "The customer ID." } ] }, "docs": "Delete a customer" }, { "info": { "name": "List businesses", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.ezrentout.com/businesses.api", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number for paginated list results (default 1)." } ] }, "docs": "List businesses" }, { "info": { "name": "Create a business", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.ezrentout.com/businesses.api", "body": { "type": "json", "data": "{}" } }, "docs": "Create a business" }, { "info": { "name": "List business contacts", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.ezrentout.com/contacts.api", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number for paginated list results (default 1)." } ] }, "docs": "List business contacts" }, { "info": { "name": "Create a business contact", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.ezrentout.com/contacts.api", "body": { "type": "json", "data": "{}" } }, "docs": "Create a business contact" } ] } ], "bundled": true }