Returnly

Smart Returns Platform

Integrate the Returnly API with the Node API

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

Run Node Code with the Node API

Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.

 
Try it

Overview of Returnly

Welcome to the Returnly API! With our API, you can extend, integrate and build
custom returns flow and exchanges for your customers. Here are a few examples
of what you can do with our API:

  • Create returns and exchange experiences that store customers can initiate
    from their own store’s platform.
  • Enhance the returns and exchange process with features such as automatic
    product replacements and personalized return experience.
  • Automate the returns and exchange process, including capturing real-time
    shipping updates.
  • Provide flexibility by allowing customers to choose their preferred shipping
    services.
  • Build automated, customizable notifications that let customers know when
    their returns or exchanges are shipped or received.
  • Offer customers insights and analytics into their returns and exchange
    process, including usage trends and customer satisfaction metrics.

Connect Returnly

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    returnly: {
      type: "app",
      app: "returnly",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.returnly.com/returns`,
      headers: {
        "X-Api-Token": `${this.returnly.$auth.api_key}`,
      },
      params: {
        include: `return_line_items,shipping_labels,instant_refund_voucher`,
        status: `refunded`,
      },
    })
  },
})

Connect Node

1
2
3
4
5
6
7
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
  async run({ steps, $ }) {
    // Return data to use it in future steps
    return steps.trigger.event
  },
})

Community Posts

Automate checking a ticket system's availability with Node.js and Pipedream
Automate checking a ticket system's availability with Node.js and Pipedream
How I used Node.js and Pipedream to automatically scrape a ticket booking site and notify me if availability had changed.