← DEAR Systems

New Authorized Sale Order from DEAR Systems API

Pipedream makes it easy to connect APIs for DEAR Systems and 900+ other apps remarkably fast.

Trigger workflow on
New Authorized Sale Order from the DEAR Systems API
Next, do this
Connect to 900+ APIs using code and no-code building blocks
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

Trigger a workflow on New Authorized Sale Order with DEAR Systems API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the New Authorized Sale Order trigger
    1. Connect your DEAR Systems account
  2. Add steps to connect to 900+ APIs using code and no-code building blocks
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Send Message with Discord Webhook API on New Authorized Sale Order from DEAR Systems API
DEAR Systems + Discord Webhook
 
Try it
Add Multiple Rows with Google Sheets API on New Authorized Sale Order from DEAR Systems API
DEAR Systems + Google Sheets
 
Try it
Get Film with SWAPI - Star Wars API on New Authorized Sale Order from DEAR Systems API
DEAR Systems + SWAPI - Star Wars
 
Try it
Create Multiple Records with Airtable API on New Authorized Sale Order from DEAR Systems API
DEAR Systems + Airtable
 
Try it
Custom Request with HTTP / Webhook API on New Authorized Sale Order from DEAR Systems API
DEAR Systems + HTTP / Webhook
 
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.

New Authorized Sale Order on DEAR Systems
Description:Emit new event when a sale order is created and authorized
Version:0.0.2
Key:dear-new-authorized-sale-order

Code

import constants from "../../common/constants.mjs";
import base from "../common/webhooks.mjs";

export default {
  ...base,
  name: "New Authorized Sale Order",
  key: "dear-new-authorized-sale-order",
  type: "source",
  description: "Emit new event when a sale order is created and authorized",
  version: "0.0.2",
  dedupe: "unique",
  methods: {
    ...base.methods,
    getWebhookType() {
      return constants.WEBHOOK_TYPE.SALE_ORDER_AUTHORISED;
    },
    getMetadata(payload) {
      const {
        amznTraceId,
        ...summary
      } = payload;

      const compositeId = `${payload.SaleID}-${amznTraceId}`;

      return {
        id: compositeId,
        summary: JSON.stringify(summary),
        ts: Date.now(),
      };
    },
  },
};

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
DEAR SystemsdearappThis component uses the DEAR Systems app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between component invocations.
N/Ahttp$.interface.httpThis component uses $.interface.http to generate a unique URL when the component is first instantiated. Each request to the URL will trigger the run() method of the component.

Authentication

DEAR Systems uses API keys for authentication. When you connect your DEAR Systems account, Pipedream securely stores the keys so you can easily authenticate to DEAR Systems APIs in both code and no-code steps.

To use the API you will need your DEAR Account ID and API Application key. These can be created on the API setup page inside DEAR Inventory application.

About DEAR Systems

DEAR Inventory is a comprehensive inventory control application positioned as a complete back end management system with product planning, cost and development, manufacturing, sales, shipping and payment features.

More Ways to Use DEAR Systems

Triggers

New Product from the DEAR Systems API

Emit new event when a product is created

 
Try it