with npm and Paazl?
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
Returns an access token for a checkout session. This enables the Paazl checkout widget to access Paazl resources. See the documentation
Generates a shipment at the carrier for the shipping option specified in POST order. See the documentation
Gets your reference for a checkout session. See the documentation
Contains shipping options for your checkout page. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
paazl: {
type: "app",
app: "paazl",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.paazl.$auth.environment}/v1/checkout`,
headers: {
Authorization: `Bearer ${this.paazl.$auth.api_key}:${this.paazl.$auth.api_secret}`,
},
params: {
reference: `${this.paazl.$auth.reference}`,
},
})
},
})