with Loop Returns and Aha?
Emit new event when a label is updated. See the documentation
Emit new event when a new return is created. See the documentation
Emit new event when the status of a return has been updated. See the documentation
Cancels a pending return request in Loop. See the documentation
Flags a particular return as important inside Loop. Requires return ID as a mandatory prop. See the documentation
Starts the processing of a return inside Loop. Return ID is a required prop to initiate the process. See the documentation
The Loop Returns API enables merchants to automate and streamline their returns and exchanges process. It offers endpoints that allow you to initiate returns, update return states, and manage return-related data, all programmable to fit into your existing e-commerce and customer service workflows. With Pipedream, you can trigger workflows based on events in Loop, or use actions to call the Loop API directly, automating tasks like syncing return data with customer service platforms, updating inventory management systems, or even issuing refunds.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
loop_returns: {
type: "app",
app: "loop_returns",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.loopreturns.com/api/v1/allowlists`,
headers: {
"accept": `application/json`,
"X-Authorization": `${this.loop_returns.$auth.api_key}`,
},
})
},
})
The Aha API provides a gateway to Aha's product roadmapping software, enabling automated interactions with Aha's platform. With this API on Pipedream, you can create, read, update, and delete records within Aha, including features, ideas, and releases. This capability allows for streamlined project management workflows, efficient tracking of product development, and synchronization of data across various platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
aha: {
type: "app",
app: "aha",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.aha.$auth.subdomain}.aha.io/api/v1/me`,
headers: {
Authorization: `Bearer ${this.aha.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
"Accept": `application/json`,
},
})
},
})