with Zoho Inventory and Refersion?
Emit new event each time a new contact is created in Zoho Inventory
Emit new event each time a new invoice is created in Zoho Inventory
Emit new event each time a new item is created in Zoho Inventory
Emit new event each time a new sales order is created in Zoho Inventory
Create a new sales order in Zoho Inventory. See the docs here
Get information about an affiliate. You can get an affiliate's information using their ID or code. See the docs here
Allows you to manually credit an affiliate with any commission amount. See the docs here
Zoho Inventory API on Pipedream opens the door to smart inventory management by allowing you to integrate with a plethora of apps, automate inventory tracking, and streamline order processing. You can sync your inventory levels across multiple sales channels, automatically update stock quantities, process sales orders, manage returns, and generate detailed reports, all in real-time. With Pipedream's serverless platform, crafting workflows becomes a breeze, letting you focus on scaling your business while reducing manual overhead.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_inventory: {
type: "app",
app: "zoho_inventory",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.zoho_inventory.$auth.api_domain}/inventory/v1/users/me`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_inventory.$auth.oauth_access_token}`,
},
})
},
})
Refersion is a powerful affiliate tracking platform that streamlines the process of managing, tracking, and growing your affiliate network. Through its API, you can automate affiliate registrations, commission tracking, and payout processes. Pipedream's serverless platform allows you to connect Refersion with hundreds of other apps to automate workflows, sync data across platforms, and respond to events in real time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
refersion: {
type: "app",
app: "refersion",
}
},
async run({steps, $}) {
const data = {
"limit": `3`,
"page": `1`,
}
return await axios($, {
method: "post",
url: `https://api.refersion.com/v2/affiliate/list`,
headers: {
"Accept": `application/json`,
"Content-Type": `application/json`,
"Refersion-Public-Key": `{{custom_fields.api_key}}`,
"Refersion-Secret-Key": `{{custom_fields.secret}}`,
},
data,
})
},
})