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}`,
},
})
},
})
Sync Returns with Customer Support Tickets: When a return is initiated in Loop, a Pipedream workflow can automatically create a support ticket in a service like Zendesk. This helps support teams track returns alongside customer queries, ensuring nothing slips through the cracks.
Automate Refund Processing: Configure a Pipedream workflow to listen for completed returns in Loop, then use the Stripe app to process refunds. This would cut down manual work for your finance team and speed up the refund process for customers.
Update Inventory in Real-Time: Use a Pipedream workflow to react to a return event from Loop, updating inventory counts in a platform like Shopify. Keeping inventory levels accurate helps with sales planning and reduces the chance of overselling a product that was recently returned.
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
Loop Returns uses API keys for authentication. When you connect your Loop Returns account, Pipedream securely stores the keys so you can easily authenticate to Loop Returns APIs in both code and no-code steps.