{ "opencollection": "1.0.0", "info": { "name": "Opply Activity Feed Customer Status API", "version": "0.0.0" }, "items": [ { "info": { "name": "Customer Status", "type": "folder" }, "items": [ { "info": { "name": "Get current customer status", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/crm/companies/:uuid/status/", "params": [ { "name": "uuid", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Get the current (most recent) status for a customer.\n\nReturns 404 if no status has been set yet." }, { "info": { "name": "Update customer status", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/v1/crm/companies/:uuid/status/", "params": [ { "name": "uuid", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Set a new status for the customer.\n\nCreates a new status record (does not update existing)." }, { "info": { "name": "Get customer status history", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/crm/companies/:uuid/status/history/", "params": [ { "name": "page", "value": "", "type": "query", "description": "A page number within the paginated result set." }, { "name": "page_size", "value": "", "type": "query", "description": "Number of results to return per page." }, { "name": "uuid", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Get the full status history for a customer.\n\nReturns all status records ordered by most recent first (paginated)." } ] } ], "bundled": true }