with Loop Returns and Shipengine?
Emit new event when a new label is shipped. See the docs
Emit new event when a label is updated. See the documentation
Emit new event when a new event is tracked. See the docs
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
By default, all labels are returned, 25 at a time, starting with the most recently created ones. You can combine multiple filter options to narrow-down the results. See the docs
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 Shipengine API enables robust automation possibilities for shipping logistics. From label creation, rate comparison, to tracking shipments, the API provides the tools to streamline e-commerce and shipping workflows. By harnessing Shipengine's capabilities through Pipedream, you can build seamless integrations that connect your shipping operations with other business processes, enhancing efficiency and reducing manual overhead.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shipengine: {
type: "app",
app: "shipengine",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.shipengine.com/v1/addresses/validate`,
headers: {
"API-Key": `${this.shipengine.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})