with Schedule and Paazl?
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
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.
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}`,
},
})
},
})