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}`,
},
})
},
})
Automated Order Fulfillment: When a new order is placed on your e-commerce platform, Pipedream triggers a workflow that creates a sales order in Zoho Inventory, allocates stock, and updates inventory levels. The process can be extended to send a notification to your logistics team or directly to a shipping service like ShipStation to initiate the delivery process.
Real-time Stock Sync Across Channels: Keep your inventory levels in sync across all sales channels, such as Shopify, Amazon, or eBay. Set up a Pipedream workflow that listens for stock level changes in Zoho Inventory and automatically updates the respective channel's inventory, ensuring you never oversell and always display the correct stock information to your customers.
Automated Reordering Alerts: Configure a workflow to monitor stock thresholds and automatically send purchase orders to suppliers when inventory runs low. This could be coupled with Slack or email notifications to keep the purchasing team informed, ensuring your best-selling items are always in stock.
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
Issues Connecting My Account: IP Allowlist
If your Zoho security policy includes an IP Allowlist, update it to connect your account:
44.223.89.56
- 44.223.89.63
.After connecting your account, make sure to run the workflow within a VPC.
Zoho Inventory uses OAuth authentication. When you connect your Zoho Inventory account, Pipedream will open a popup window where you can sign into Zoho Inventory and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Zoho Inventory API.
Pipedream requests the following authorization scopes when you connect your account:
ZohoInventory.settings.READ
Zohoinventory.FullAccess.all
GET
https://accounts.{{custom_fields.base_api_uri}}/oauth/v2/auth
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
&
prompt=consent
&
access_type=offline
POST
https://accounts.{{custom_fields.base_api_uri}}/oauth/v2/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://accounts.{{custom_fields.base_api_uri}}/oauth/v2/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}