with Yay.com and Sellsy?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
yay_com: {
type: "app",
app: "yay_com",
}
},
async run({steps, $}) {
const data = {
"a": `h`,
}
return await axios($, {
url: `https://${this.yay_com.$auth.api_hostname}/authenticated`,
headers: {
"x-auth-reseller": `${this.yay_com.$auth.reseller}`,
"x-auth-user": `${this.yay_com.$auth.user}`,
"x-auth-password": `${this.yay_com.$auth.password}`,
},
data,
})
},
})
The Sellsy API allows you to automate and enhance your customer relationship management and sales processes. Via Pipedream, a serverless integration and automation platform, you can leverage the API to sync data, trigger workflows based on specific actions within Sellsy, and connect Sellsy with a multitude of other services to streamline operations, enhance user engagements, and optimize sales activities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sellsy: {
type: "app",
app: "sellsy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sellsy.com/v2/teams`,
headers: {
Authorization: `Bearer ${this.sellsy.$auth.oauth_access_token}`,
},
})
},
})