with timelink and Teamleader Focus?
Update a draft invoice. Booked invoices cannot be updated. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
timelink: {
type: "app",
app: "timelink",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.timelink.io/api/v1/users`,
headers: {
Authorization: `Bearer ${this.timelink.$auth.api_token}`,
},
})
},
})
Teamleader Focus API lets you integrate your Teamleader account's features with Pipedream, enabling automation of various business processes. You can create, update, fetch, and manage data concerning contacts, companies, deals, projects, invoices, and tasks. Automating these aspects via Pipedream can streamline workflows, trigger actions based on events, and connect Teamleader Focus with other apps to enhance productivity.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
teamleader_focus: {
type: "app",
app: "teamleader_focus",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.focus.teamleader.eu/users.me`,
headers: {
Authorization: `Bearer ${this.teamleader_focus.$auth.oauth_access_token}`,
},
})
},
})