Zoho Commerce contains all the tools you need to build a website, accept orders, track inventory, process payments, manage shipping, market your brand, and analyze your data.
Go to siteThe Zoho Commerce API enables you to interact programmatically with Zoho's e-commerce platform, allowing for the automation of various online store operations. From managing products, orders, and customer data to generating reports, this API opens up possibilities for syncing your e-commerce data with other business tools, setting up automated marketing campaigns based on customer behavior, or even creating custom analytics dashboards to monitor your store's performance.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_commerce: {
type: "app",
app: "zoho_commerce",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://commerce.${this.zoho_commerce.$auth.base_api_url}/zs-site/api/v1/index/sites`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_commerce.$auth.oauth_access_token}`,
},
})
},
})
Automate Order Fulfillment: When a new order comes in via Zoho Commerce, use Pipedream to trigger a workflow that sends the order details to a fulfillment service like ShipStation. The workflow could then update the order status in Zoho Commerce and notify the customer of the shipment progress.
Sync Customer Data with CRM: Whenever a new customer signs up or updates their profile on your Zoho Commerce store, automatically sync their details to a CRM like Salesforce. This keeps your sales team informed and ensures marketing efforts are based on the latest customer information.
Dynamic Inventory Management: Set up a Pipedream workflow to monitor inventory levels in Zoho Commerce. If a product's stock falls below a certain threshold, the workflow can automatically reorder stock from suppliers and send alerts to your management team.
Create a new product with variants. See the documentation
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 Commerce uses OAuth authentication. When you connect your Zoho Commerce account, Pipedream will open a popup window where you can sign into Zoho Commerce 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 Commerce API.
Pipedream requests the following authorization scopes when you connect your account:
ZohoCommerce.salesorders.READ
ZohoCommerce.salesorders.CREATE
ZohoCommerce.sitesIndex.READ
ZohoCommerce.items.CREATE
ZohoCommerce.webhooks.CREATE
ZohoCommerce.webhooks.READ
GET
https://accounts.zoho.com/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
{{custom_fields.accounts_server}}/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
{{custom_fields.accounts_server}}/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}}