This is an unofficial Node.js client for the Fortellis API libraries.
- Elead Product Reference Data
- Elead Sales Activities
- Elead Sales Customers
- Elead Sales Opportunities
- CDK Drive Get Customer
- CDK Drive Get Service Appointment
- CDK Drive Get Repair Order
- CDK Drive Get FI Sales
Following sufficient adoption, additional APIs may be added.
npm install fortellis
const fortellis = require("fortellis");
// authenticate with your Fortellis credentials
const auth = await fortellis.auth.FortellisAuth({
apiKey: "your-fortellis-api-key",
apiSecret: "your-fortellis-api-secret",
subscriptionId: "your-fortellis-application-subscription-id",
});
// create a new instance of the Elead Activities API client
const salesactivities = fortellis.eleadsalesactivities({
version: "v1",
environment: "test", // can be "test" or "production"
auth,
});
// make a request to the API
const response = await salesactivities.getActivityTypes();
// print the response
console.log(response);
import fortellis from "fortellis";
// authenticate with your Fortellis credentials
const auth = await fortellis.auth.FortellisAuth({
apiKey: "your-fortellis-api-key",
apiSecret: "your-fortellis-api-secret",
subscriptionId: "your-fortellis-application-subscription-id",
});
// create a new instance of the Elead Activities API client
const salesactivities = fortellis.eleadsalesactivities({
version: "v1",
environment: "test", // can be "test" or "production"
auth,
});
// make a request to the API
const response = await salesactivities.getActivityTypes();
// print the response
console.log(response);