import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
storeganise: {
type: "app",
app: "storeganise",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.storeganise.$auth.subdomain}.storeganise.com/api/v1/sites`,
headers: {
"Authorization": `ApiKey ${this.storeganise.$auth.api_key}`,
},
})
},
})
Adds a payment to the targeted invoice. See the documentation
Marks the selected invoice as paid in Storeganise. See the documentation
Storeganise uses API keys for authentication. When you connect your Storeganise account, Pipedream securely stores the keys so you can easily authenticate to Storeganise APIs in both code and no-code steps.