With the ChartMogul API, you can build a variety of applications and integrations to help you better understand and manage your customer data. Here are some examples of what you can build:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
chartmogul: {
type: "app",
app: "chartmogul",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.chartmogul.com/v1/ping`,
auth: {
username: `${this.chartmogul.$auth.account_token}`,
password: `${this.chartmogul.$auth.secret_key}`,
},
})
},
})
Adds custom attributes to customers that have the specified email address. See the docs here
Adds custom attributes to a given customer. See the docs here
Adds tags to customers that have the specified email address. See the docs here
Adds tags to a given customer. See the docs here
Creates a customer
object in ChartMogul under the specified data_source
See the docs here
ChartMogul uses API keys for authentication. When you connect your ChartMogul account, Pipedream securely stores the keys so you can easily authenticate to ChartMogul APIs in both code and no-code steps.
You can find your Account Token and Secret Key in the ChartMogul API Admin page.