with Fakturoid and neetoDesk?
Cancels an existing invoice or revokes previous cancellation. See the documentation
Executes payment for an invoice or removes an already applied payment. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fakturoid: {
type: "app",
app: "fakturoid",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.fakturoid.cz/api/v3/user.json`,
headers: {
Authorization: `Bearer ${this.fakturoid.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
neetodesk: {
type: "app",
app: "neetodesk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.neetodesk.$auth.subdomain}.neetodesk.com/api/v1/public/tickets`,
headers: {
"x-api-key": `${this.neetodesk.$auth.api_key}`,
},
})
},
})