Shopify Partner API connection. Listen to events like installs, uninstalls, charges & transactions.
Go to siteThe 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
}
}
`,
},
})
},
})
Automated Development Store Setup: Streamline the process of setting up new development stores for clients by creating a Pipedream workflow. This can automatically configure store preferences, install essential apps, and set up staff accounts when a new project is initiated in your project management tool (like Trello or Asana).
Collaborator Access Management: Craft a workflow on Pipedream that manages collaborator requests and access levels. For instance, when a new team member is added to your GitHub repository, the workflow can send a collaborator invitation for the corresponding Shopify store, ensuring seamless team onboarding.
Payout Tracking and Notifications: Build a notification system with Pipedream that monitors and reports on your Shopify Partner payouts. Configure a workflow to send a summary of payouts via Slack or email on a regular basis, or trigger alerts when payouts fall below a certain threshold, helping you maintain financial oversight.
In order to authorize Pipedream to access your Shopify Partner Account, you will need to generate a new API key for Pipedream to use on your behalf.
First, create an API client in your Shopify Partner account.
Make sure to include these scopes:
View financials
Manage apps
You will use this API key to authenticate your Pipedream workflows with Shopify Partners.
This action will poll the Shopify Partner API for new app installs, requires an app_id
in the Shopify GraphQL API GID format.
This action will poll the Shopify Partner API for new app installs, requires an app_id
in the Shopify GraphQL GID format.
This action will poll the Shopify Partner API for new app charges, including reoccurring, one time and usage charges.
Verify an incoming webhook from Shopify. Exits the workflow if the signature is not valid, otherwise returns true
Shopify Partner uses API keys for authentication. When you connect your Shopify Partner account, Pipedream securely stores the keys so you can easily authenticate to Shopify Partner APIs in both code and no-code steps.
In order to authorize Pipedream to access your Shopify Partner Account, you will need to generate a new API key for Pipedream to use on your behalf.
First, create an API client in your Shopify Partner account.
Make sure to include these scopes:
View financials
Manage apps
You will use this API key to authenticate your Pipedream workflows with Shopify Partners.
After you log into the Shopify Partner portal, look at the URL for your organization ID
After opening your app in the partner portal, look in the URL to find it's ID: