with npm and PlentyONE?
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
Retrieves a specific order by ID from PlentyONE. See the documentation
Retrieves documents for a specific order from PlentyONE. See the documentation
Retrieves items for a specific order from PlentyONE See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    plentyone: {
      type: "app",
      app: "plentyone",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://p${this.plentyone.$auth.id}.my.plentysystems.com/rest/user`,
      headers: {
        Authorization: `Bearer ${this.plentyone.$auth.oauth_access_token}`,
      },
    })
  },
})