{ "opencollection": "1.0.0", "info": { "name": "Zendesk Sell (Sales CRM) Contacts Deals API", "version": "2.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.getbase.com/oauth2/authorize", "accessTokenUrl": "https://api.getbase.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Deals", "type": "folder" }, "items": [ { "info": { "name": "List deals", "type": "http" }, "http": { "method": "GET", "url": "https://api.getbase.com/v2/deals", "params": [ { "name": "page", "value": "", "type": "query" }, { "name": "per_page", "value": "", "type": "query" }, { "name": "sort_by", "value": "", "type": "query" }, { "name": "ids", "value": "", "type": "query" }, { "name": "owner_id", "value": "", "type": "query" }, { "name": "contact_id", "value": "", "type": "query" }, { "name": "stage_id", "value": "", "type": "query" } ] }, "docs": "List deals" }, { "info": { "name": "Create a deal", "type": "http" }, "http": { "method": "POST", "url": "https://api.getbase.com/v2/deals", "body": { "type": "json", "data": "{}" } }, "docs": "Create a deal" }, { "info": { "name": "Retrieve a deal", "type": "http" }, "http": { "method": "GET", "url": "https://api.getbase.com/v2/deals/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Retrieve a deal" }, { "info": { "name": "Update a deal", "type": "http" }, "http": { "method": "PUT", "url": "https://api.getbase.com/v2/deals/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Update a deal" }, { "info": { "name": "Delete a deal", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.getbase.com/v2/deals/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Delete a deal" }, { "info": { "name": "Upsert a deal", "type": "http" }, "http": { "method": "POST", "url": "https://api.getbase.com/v2/deals/upsert" }, "docs": "Upsert a deal" } ] } ], "bundled": true }