with Helcim and Shopify Partner?
Verify an incoming webhook from Shopify. Exits the workflow if the signature is not valid, otherwise returns true
Helcim is a payment platform that lets you process transactions, manage customers, and handle various aspects of your business's finances. Using Pipedream, you can tap into the Helcim API to create automations that streamline payment processing, sync transaction data with other business tools, and trigger actions based on payment events. It's an ideal way to integrate sales data with other systems, automate accounting tasks, and enhance customer relationship management.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
helcim: {
type: "app",
app: "helcim",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://secure.myhelcim.com/api/account-info`,
headers: {
"account-id": `${this.helcim.$auth.account_id}`,
"api-token": `${this.helcim.$auth.api_token}`,
},
})
},
})
The Shopify Partner API lets you tap into a comprehensive suite of features to manage and analyze multiple Shopify stores. You can automate tasks like creating development stores, adding collaborators, tracking payouts, and more. This API serves as a powerful tool for developers, agencies, and freelancers who manage multiple Shopify shops for their clients. Through Pipedream, you can effortlessly integrate Shopify Partner API with other services to create tailored, efficient workflows that save time and enhance productivity.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shopify_partner: {
type: "app",
app: "shopify_partner",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://partners.shopify.com/${this.shopify_partner.$auth.organization_id}/api/2021-07/graphql.json`,
headers: {
'X-Shopify-Access-Token': this.shopify_partner.$auth.api_key,
'Content-Type': 'application/x-www-form-urlencoded'
},
method: 'POST',
params: {
query: `{
publicApiVersions {
handle
}
}
`,
},
})
},
})