with Loop Returns and Plainly?
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 a video render job finishes successfully.
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
Creates a render job for a video template. See the documentation
Flags a particular return as important inside Loop. Requires return ID as a mandatory prop. See the documentation
Retrieves the current status of a render job in Plainly. See the documentation
Fetches a list of available video templates in a project in the user's Plainly account. 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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
plainly: {
type: "app",
app: "plainly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.plainlyvideos.com/api/v2/projects`,
auth: {
username: `${this.plainly.$auth.api_key}`,
password: ``,
},
})
},
})