← Zoho Inventory

Create Sales Order with Zoho Inventory API

Pipedream makes it easy to connect APIs for Zoho Inventory and 1000+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Create Sales Order with the Zoho Inventory API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

Create a workflow to Create Sales Order with the Zoho Inventory API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Create Sales Order action
    1. Connect your Zoho Inventory account
    2. Select a Organization
    3. Select a Customer
    4. Select one or more Item
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Create Sales Order with Zoho Inventory API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Zoho Inventory
 
Try it
Create Sales Order with Zoho Inventory API on New Message in Channel from Discord Bot API
Discord Bot + Zoho Inventory
 
Try it
Create Sales Order with Zoho Inventory API on New Submission from Typeform API
Typeform + Zoho Inventory
 
Try it
Create Sales Order with Zoho Inventory API on Custom Events from Zoom API
Zoom + Zoho Inventory
 
Try it
Create Sales Order with Zoho Inventory API on New Submission (Instant) from Jotform API
Jotform + Zoho Inventory
 
Try it

Details

This is a pre-built, open source component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Create Sales Order on Zoho Inventory
Description:Create a new sales order in Zoho Inventory. [See the docs here](https://www.zoho.com/inventory/api/v1/salesorders/#create-a-sales-order)
Version:0.0.1
Key:zoho_inventory-create-order

Code

import zohoInventory from "../../zoho_inventory.app.mjs";

export default {
  key: "zoho_inventory-create-order",
  name: "Create Sales Order",
  description: "Create a new sales order in Zoho Inventory. [See the docs here](https://www.zoho.com/inventory/api/v1/salesorders/#create-a-sales-order)",
  version: "0.0.1",
  type: "action",
  props: {
    zohoInventory,
    organization: {
      propDefinition: [
        zohoInventory,
        "organization",
      ],
    },
    customer: {
      propDefinition: [
        zohoInventory,
        "customer",
      ],
    },
    items: {
      propDefinition: [
        zohoInventory,
        "items",
      ],
      withLabel: true,
      reloadProps: true,
    },
  },
  async additionalProps() {
    const props = {};
    for (const item of this.items) {
      props[item.label] = {
        type: "string",
        label: `Quantity of ${item.label}`,
        description: `Enter the line item quantity for item ${item.label}`,
      };
    }
    return props;
  },
  async run({ $ }) {
    const params = {
      organization_id: this.organization,
    };
    const data = {
      customer_id: this.customer,
      line_items: [],
    };
    for (const item of this.items) {
      data.line_items.push({
        item_id: item.value,
        quantity: this[item.label],
      });
    }
    const response = await this.zohoInventory.createSalesOrder({
      params,
      data,
      $,
    });
    $.export("$summary", "Successfully created sales order");
    return response;
  },
};

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
Zoho InventoryzohoInventoryappThis component uses the Zoho Inventory app.
OrganizationorganizationstringSelect a value from the drop down menu.
CustomercustomerstringSelect a value from the drop down menu.
Itemitemsstring[]Select a value from the drop down menu.

Authentication

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.READZohoinventory.FullAccess.all

About Zoho Inventory

Inventory Management | Online Inventory Software

More Ways to Use Zoho Inventory

Triggers

New Contact from the Zoho Inventory API

Emit new event each time a new contact is created in Zoho Inventory

 
Try it
New Invoice from the Zoho Inventory API

Emit new event each time a new invoice is created in Zoho Inventory

 
Try it
New Item from the Zoho Inventory API

Emit new event each time a new item is created in Zoho Inventory

 
Try it
New Sales Order from the Zoho Inventory API

Emit new event each time a new sales order is created in Zoho Inventory

 
Try it

Actions

Create Contact with the Zoho Inventory API

Create a new contact in Zoho Inventory. See the docs here

 
Try it