Megaventory

Web-based software for online inventory management, order fulfillment and manufacturing using bills of materials.

Integrate the Megaventory API with the Stripe API

Setup the Megaventory API trigger to run a workflow which integrates with the Stripe API. Pipedream's integration platform allows you to integrate Megaventory and Stripe remarkably fast. Free for developers.

Insert Or Update Product with Megaventory API on New Custom Webhook Events from Stripe API
Stripe + Megaventory
 
Try it
Insert Or Update Purchase Order with Megaventory API on New Custom Webhook Events from Stripe API
Stripe + Megaventory
 
Try it
Insert Or Update Sales Order with Megaventory API on New Custom Webhook Events from Stripe API
Stripe + Megaventory
 
Try it
Cancel a Payment Intent with Stripe API on New Product Created from Megaventory API
Megaventory + Stripe
 
Try it
Cancel a Payment Intent with Stripe API on New Purchase Order Created from Megaventory API
Megaventory + Stripe
 
Try it
New Custom Webhook Events from the Stripe API

Emit new event on each webhook event

 
Try it
New Product Created from the Megaventory API

Emit new event when a new product is created. See the docs.

 
Try it
Canceled Subscription from the Stripe API

Emit new event for each new canceled subscription

 
Try it
New Purchase Order Created from the Megaventory API

Emit new event when a new purchase order is created. See the docs.

 
Try it
New Sales Order Created from the Megaventory API

Emit new event when a new sales order is created. See the docs.

 
Try it
Insert Or Update Product with the Megaventory API

Insert or update a product in the database. See the docs.

 
Try it
Insert Or Update Purchase Order with the Megaventory API

Insert or update a purchase order in the database. See the docs.

 
Try it
Cancel a Payment Intent with the Stripe API

Cancel a payment intent. Once canceled, no additional charges will be made by the payment intent and any operations on the payment intent will fail with an error. For payment intents with status=requires_capture, the remaining amount_capturable will automatically be refunded. See the docs for more information

 
Try it
Insert Or Update Sales Order with the Megaventory API

Insert or update a sales order in the database. See the docs.

 
Try it
Cancel Or Reverse a Payout with the Stripe API

Cancel or reverse a payout. A payout can be canceled only if it has not yet been paid out. A payout can be reversed only if it has already been paid out. Funds will be refunded to your available balance. See the docs for more information

 
Try it

Overview of Megaventory

Megaventory is a robust inventory management API allowing for detailed tracking of products, orders, and the supply chain. You can automate the updating of stock levels, manage sales and purchase orders, and generate detailed reports. With Megaventory and Pipedream, you can craft automation workflows to streamline inventory operations, synchronize data across platforms, and trigger actions based on inventory changes.

Connect Megaventory

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    megaventory: {
      type: "app",
      app: "megaventory",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.megaventory.com/v2017a/json/reply/ProductGet?APIKEY=${this.megaventory.$auth.api_key}`,
      headers: {
        "Authorization": `Token token=${this.megaventory.$auth.api_key}`,
        "Content-Type": `application/json`,
      },
    })
  },
})

Overview of Stripe

The Stripe API is a powerful tool for managing online payments, subscriptions, and invoices. With Pipedream, you can leverage this API to automate payment processing, monitor transactions, and sync billing data with other services. Pipedream's no-code platform allows for quick integration and creation of serverless workflows that react to Stripe events in real-time. For instance, you might automatically update customer records, send personalized emails after successful payments, or escalate failed transactions to your support team.

Connect Stripe

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import stripe from 'stripe'

export default defineComponent({
  props: {
    stripe: {
      type: "app",
      app: "stripe",
    }
  },
  async run({steps, $}) {
    const client = stripe(this.stripe.$auth.api_key)

    return await client.accounts.list({ limit: 1 })
  },
})