with npm and Returnless?
Emit new event with the latest count of downloads for an npm package. See the documentation
Emit new event when a new version of an npm package is published. See the documentation
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
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
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`,
},
})
},
})