What do you want to automate

with Selling Partner API (SP-API) and MailerLite?

Prompt, edit and deploy AI agents that connect to Selling Partner API (SP-API), MailerLite and 3,000+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Check FBA Inventory Levels with Selling Partner API (SP-API) API on New Subscriber Added To Group (Instant) from Mailerlite API
MailerLite + Selling Partner API (SP-API)
 
Try it
Check FBA Inventory Levels with Selling Partner API (SP-API) API on New Subscriber Created (Instant) from Mailerlite API
MailerLite + Selling Partner API (SP-API)
 
Try it
Check FBA Inventory Levels with Selling Partner API (SP-API) API on New Subscriber Unsubscribed (Instant) from Mailerlite API
MailerLite + Selling Partner API (SP-API)
 
Try it
Create Subscriber with Mailerlite API on New Inbound Shipment to FBA Created from Amazon Selling Partner API
Selling Partner API (SP-API) + MailerLite
 
Try it
Create Subscriber with Mailerlite API on New Order Created from Amazon Selling Partner API
Selling Partner API (SP-API) + MailerLite
 
Try it
New Subscriber Added To Group (Instant) from the MailerLite API

Emit new event when a new subscriber is added to a group.

 
Try it
New Subscriber Created (Instant) from the MailerLite API

Emit new event when a new subscriber is created.

 
Try it
New Subscriber Unsubscribed (Instant) from the MailerLite API

Emit new event when a subscriber is unsubscribed.

 
Try it
New Inbound Shipment to FBA Created from the Selling Partner API (SP-API) API

Emit new event when a new inbound shipment to FBA is created. See the documentation

 
Try it
New Order Created from the Selling Partner API (SP-API) API

Emit new event when a new order is created in Amazon Seller Central. See the documentation

 
Try it
Check FBA Inventory Levels with the Selling Partner API (SP-API) API

Retrieves inventory summaries from Amazon fulfillment centers to monitor stock availability. See the documentation

 
Try it
Create Subscriber with the MailerLite API

Create a new subscriber. See the documentation

 
Try it
Fetch Orders by Date Range with the Selling Partner API (SP-API) API

Retrieves a list of orders based on a specified date range, buyer email, or order ID. See the documentation

 
Try it
List Subscribers with the MailerLite API

Lists all subscribers in a group. See the documentation

 
Try it
Generate Sales & Inventory Reports with the Selling Partner API (SP-API) API

Requests reports on sales, inventory, and fulfillment performance. See the documentation

 
Try it
Integrate the Selling Partner API (SP-API) API with the MailerLite API
Setup the Selling Partner API (SP-API) API trigger to run a workflow which integrates with the MailerLite API. Pipedream's integration platform allows you to integrate Selling Partner API (SP-API) and MailerLite remarkably fast. Free for developers.

Connect Selling Partner API (SP-API)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    amazon_selling_partner: {
      type: "app",
      app: "amazon_selling_partner",
    }
  },
  async run({steps, $}) {
    // Define the mapping between Seller Central URLs (from your App Config) and SP-API Endpoints
    const getEndpoint = (sellerCentralUrl) => {
      const na = "https://sellingpartnerapi-na.amazon.com";
      const eu = "https://sellingpartnerapi-eu.amazon.com";
      const fe = "https://sellingpartnerapi-fe.amazon.com";
    
      const map = {
        // North America
        "https://sellercentral.amazon.com": na,
        "https://sellercentral.amazon.ca": na,
        "https://sellercentral.amazon.com.mx": na,
        "https://sellercentral.amazon.com.br": na,
    
        // Europe (The Big 5 often share one URL, but newer ones have specific URLs)
        "https://sellercentral-europe.amazon.com": eu, 
        "https://sellercentral.amazon.com.be": eu,
        "https://sellercentral.amazon.nl": eu,
        "https://sellercentral.amazon.pl": eu,
        "https://sellercentral.amazon.se": eu,
        "https://sellercentral.amazon.com.tr": eu,
    
        // India (Uses EU endpoint)
        "https://sellercentral.amazon.in": eu,
    
        // Far East
        "https://sellercentral.amazon.sg": fe,
        "https://sellercentral.amazon.com.au": fe,
        "https://sellercentral.amazon.co.jp": fe,
      };
    
      return map[sellerCentralUrl];
    };
    
    // 1. Get the Marketplace URL selected by the user in the App Connection
    const marketplaceUrl = this.amazon_selling_partner.$auth.marketplace;
    
    // 2. Resolve the correct SP-API Endpoint
    const apiEndpoint = getEndpoint(marketplaceUrl);
    
    if (!apiEndpoint) {
      throw new Error(`Could not map Seller Central URL (${marketplaceUrl}) to an SP-API Endpoint.`);
    }
    
    // 3. Make the request
    return await axios($, {
      url: `${apiEndpoint}/inbound/fba/2024-03-20/inboundPlans`,
      headers: {
        "x-amz-access-token": `${this.amazon_selling_partner.$auth.oauth_access_token}`,
      },
    });
  },
})

Overview of MailerLite

The Mailerlite API offers the ability to extend your email marketing efforts through programmatic access to your Mailerlite account. Use it on Pipedream to automate email campaigns, manage subscribers, analyze the results of your outreach, and integrate with your existing tech stack. By crafting workflows on Pipedream, you can connect Mailerlite to a vast array of services, triggering actions based on subscriber behavior, synchronizing data across platforms, or enriching subscriber profiles for targeted campaigns.

Connect MailerLite

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    mailerlite: {
      type: "app",
      app: "mailerlite",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://connect.mailerlite.com/api/campaigns`,
      headers: {
        Authorization: `Bearer ${this.mailerlite.$auth.api_key}`,
      },
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo