Shopify

Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.

Go to site
Explore
/
Apps
/
Shopify

Shopify API Integrations

Build and run workflows using the Shopify API. Use 1000s of source-available triggers and actions across 2,400+ apps. Or write custom code to integrate any app or API in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Overview

The Shopify Admin REST & GraphQL API unleashes a myriad of possibilities to automate and enhance online store operations. It provides programmatic access to Shopify functionalities, allowing users to manage products, customers, orders, and more. Leveraging the Shopify Admin API within Pipedream, developers can create custom workflows that automate repetitive tasks, sync data across platforms, and respond dynamically to events in Shopify.

This integration can be used as a custom app on your store, or for automating actions on behalf of merchants through your Shopify app.

Looking for integrating into the Shopify Partner API for your apps, themes or referrals? Check out our Shopify Partner API integration.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    shopify_developer_app: {
      type: "app",
      app: "shopify_developer_app",
    }
  },
  async run({steps, $}) {
    const data = {
      "query": `{  
        shop { 
          id 
          name
          email 
        } 
      }`,
    }
    return await axios($, {
      method: "post",
      url: `https://${this.shopify_developer_app.$auth.shop_id}.myshopify.com/admin/api/2024-04/graphql.json`,
      headers: {
        "X-Shopify-Access-Token": `${this.shopify_developer_app.$auth.access_token}`,
        "Content-Type": `application/json`,
      },
      data,
    })
  },
})

Choose an API to Connect with Shopify API

1
-
24
of
2,400+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Premium
Salesforce
Salesforce
Web services API for interacting with Salesforce
Premium
HubSpot
HubSpot
HubSpot's CRM platform contains the marketing, sales, service, operations, and website-building software you need to grow your business.
Premium
Zoho CRM
Zoho CRM
Zoho CRM is an online Sales CRM software that manages your sales, marketing, and support in one CRM platform.
Premium
Stripe
Stripe
Stripe powers online and in-person payment processing and financial solutions for businesses of all sizes.
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Premium
WooCommerce
WooCommerce
WooCommerce is the open-source ecommerce platform for WordPress.
Premium
Snowflake
Snowflake
A data warehouse built for the cloud
Premium
MongoDB
MongoDB
MongoDB is an open source NoSQL database management program.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.

Example Use Cases

  • Automated Order Fulfillment Workflow: When a new order is received in Shopify, a Pipedream workflow can be triggered, automatically notifying a fulfillment service or updating an inventory management system. This ensures quick response times and keeps inventory levels accurate.

  • Customer Segmentation and Personalized Marketing: Pipedream can listen for customer creation events on Shopify. When a new customer is added, the workflow can segment them based on predefined criteria, such as order value or location, and add them to corresponding marketing campaigns in email marketing platforms like Mailchimp.

  • Real-time Stock Level Alerts: Set up a Pipedream workflow to monitor product stock levels on Shopify. When a product's stock falls below a certain threshold, trigger an alert that is sent out via Slack, SMS, or email to prompt immediate restocking actions, ensuring that popular products are always available to customers.

Getting Started

As a merchant

By creating a custom app on Shopify, you will be able to configure the exact scopes that you require to build the workflows that you need.

To get started, you will need to create a custom Shopify app in the Shopify Admin UI. The steps are outlined below:

Create a Shopify app

  1. Sign in to your Shopify admin account, and navigate to the store that you are managing.
  2. Click Develop apps.
  3. Click Allow custom app development.
  4. Click Create an App, and name the app "Pipedream"

Create an App

Configure Admin API scopes

  1. In the new app you have created, under the API Credentials tab, click Configure Admin API scopes
  2. Select the scopes that you require for your use case. You may modify your scopes at any time by returning to the app configuration page.

Generate the Admin API access token

  1. Under API credentials, click Install app.
  2. Click Reveal token once and save it in a secure location (we recommend using a password manager such as 1Password) -- you will need it when setting up authentication on Pipedream, and it is only revealed once. If you happen to lose this, you will need to uninstall the app, and reinstall it on Shopify to generate a new access token.

API Credentials

Connect your Shopify app with Pipedream using your access token

At this point, you should have a Pipedream App connected to your Shopify store, and a long-lived access token.

  1. When prompted in Pipedream after trying to connect the Shopify Developer App, copy and paste your shop id along with your access token saved from the previous step.
  2. Click Connect and your custom Shopify app should be integrated into Pipedream!

As an app developer

As a Shopify App Developer, you can use Pipedream to automate actions on behalf of merchants by leveraging the merchants offline access token.

Connect your database

First, you'll need to connect your app's database to Pipedream. Pipedream connects to SQL and No-SQL databases. Here's a list of popular options in Pipedream:

Once your database is connected to Pipedream, you'll be able to query the database for a specific merchant's token.

Retrieve a merchants access token

In an HTTP triggered workflow, you can use a body parameter to reference a shop by it's myshopify.com domain, or unique Shop ID.

Pass the shop ID to your database query step to retrieve the corresponding record of the shop to retrieve the shop's access token.

Use the Shopify Developer App integration

Then pass the shop's access token to a no-code Shopify Developer App action, or use Node.js/Python code to perform a raw HTTP request against the Shopify Admin GraphQL or REST API.

For example, in a pre-built action like Add Tags, click use external authentication to pass in your database stored access token:

Use external account to pass in your database managed Shopify store oauth access tokens to perform actions on behalf of merchants

This will switch the action to allow you to pass in the merchants access token from your database query step:

Using the store's access token as a prop input

Create Article with Shopify API on Weekly schedule from Schedule API
Schedule + Shopify
 
Try it
Create Order with Shopify API on New Email from Email API
Email + Shopify
 
Try it
Add Tags with Shopify API on New API Version Created from SwaggerHub API
SwaggerHub + Shopify
 
Try it
Create Metaobject with Shopify Developer App API on New Link from Rebrandly API
Rebrandly + Shopify
 
Try it
Create Order with Shopify Developer App API on New Updates (Instant) from Telegram Bot API
Telegram Bot + Shopify
 
Try it
New Abandoned Cart from the Shopify API

Emit new event each time a user abandons their cart.

 
Try it
New Article from the Shopify API

Emit new event for each new article in a blog.

 
Try it
New Cancelled Order (Instant) from the Shopify API

Emit new event each time a new order is cancelled.

 
Try it
New Customer Created (Instant) from the Shopify API

Emit new event for each new customer added to a store.

 
Try it
New Draft Order (Instant) from the Shopify API

Emit new event for each new draft order submitted to a store.

 
Try it
Add Products to Custom Collections with the Shopify API

Adds a product or products to a custom collection or collections. See the docs

 
Try it
Add Tags with the Shopify API
 
Try it
Create Article with the Shopify API

Create a new blog article. See The Documentation

 
Try it
Create Blog with the Shopify API

Create a new blog. See The Documentation

 
Try it
Create Custom Collection with the Shopify API

Create a new custom collection. See the documentation

 
Try it

Authentication

Name Slug: shopify_developer_app

Shopify uses API keys for authentication. When you connect your Shopify account, Pipedream securely stores the keys so you can easily authenticate to Shopify APIs in both code and no-code steps.

Get your Access Token

Create a custom app in Shopify to obtain your Admin API access token. See our detailed instructions here.

Enter your Admin API access token below, and save it in a secure location (we recommend using a password manager such as 1Password)

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo