import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
returnless: {
type: "app",
app: "returnless",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-v2.returnless.com/2023-01/account`,
headers: {
Authorization: `Bearer ${this.returnless.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})
Emit new event when a return is created. See the documentation
Emit new event when a return note is added. See the documentation
Emit new event when a return product is marked as received. See the documentation
Emit new event when a return status is changed. See the documentation
Retrieve a list of sales orders sorted by creation date, with the most recent sales orders appearing first. See the documentation
Update the status of a return order. See the documentation
Returnless uses API keys for authentication. When you connect your Returnless account, Pipedream securely stores the keys so you can easily authenticate to Returnless APIs in both code and no-code steps.