Created
November 24, 2016 16:19
-
-
Save joshje/d6e0952618a1c66599517e1e9c7cb41d to your computer and use it in GitHub Desktop.
Update intercom company
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const intercomClient = new require('intercom-client').Client({appId:"he1f413x" ,appApiKey: "************"}); | |
intercomClient.companies.create({ company_id: '636e7949-f0ac-4b73-bedf-ba8204205714', custom_attributes: { plan:"STARTER_ANNUAL", trial_ended: true } }, function (r) { console.log(r); }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment