import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
printful: {
type: "app",
app: "printful",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.printful.com/store`,
auth: {
username: `${this.printful.$auth.api_key}`,
password: ``,
},
})
},
})
Printful uses API keys for authentication. When you connect your Printful account, Pipedream securely stores the keys so you can easily authenticate to Printful APIs in both code and no-code steps.
Retrieve the API key for your store and enter it below.