auths
objectreturn
or this.key = 'value'
, pass input data to your code viaparams
, and maintain state across executions with$checkpoint.async
(event, steps, params, auths) => {
}
return await require("@pipedreamhq/platform").axios(this, {
url: `https://${auths.woocommerce.url}/wp-json/wc/v3/products`,
auth: {
username: `${auths.woocommerce.key}`,
password: `${auths.woocommerce.secret}`,
},
params: {
per_page: params.per_page,
}
})