Shopify Partner API connection. Listen to events like installs, uninstalls, charges & transactions.
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
}
}
`,
},
})
},
})
The Postmark API enables developers to easily integrate programmatic emailing into their applications. With the API, developers can create, send, and track transactional emails that are designed to enhance user experience and user engagement. The API also provides developers with access to powerful analytics and insights, such as open/click rates, spam complaints, bounces, and unsubscribes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
postmark: {
type: "app",
app: "postmark",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.postmarkapp.com/server`,
headers: {
"X-Postmark-Server-Token": `${this.postmark.$auth.server_api_token}`,
"Accept": `application/json`,
},
})
},
})