Shopify

Ecommerce platform

Go to site
Explore
/
Apps
/
Shopify

Shopify API Integrations

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

const data = {
  "query": `{  
    shop { 
      id 
      name 
    } 
  }`,
}
return await require("@pipedreamhq/platform").axios(this, {
  method: "post",
  url: `https://${auths.shopify.shop_id}.myshopify.com/admin/api/2019-10/graphql.json`,
  headers: {
    "X-Shopify-Access-Token": `${auths.shopify.oauth_access_token}`,
    "Content-Type": `application/json`,
  },
  data,
})
Search Customer

Searches for customers that match a supplied query.

 
Try it
Create Draft Order

Creates a draft order

 
Try it
Get Customer

Gets a customer by id

 
Try it
Get Customer Metafields

Gets metafields of a customer.

 
Try it
Get Order

Gets an order with the specified ID.

 
Try it

Authentication

Shopify uses OAuth authentication. When you connect your Shopify account, Pipedream will open a popup window where you can sign into Shopify and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Shopify API.

Pipedream requests the following authorization scopes when you connect your account:

read_contentwrite_contentread_themeswrite_themesread_productswrite_productsread_product_listingsread_customerswrite_customersread_ordersread_all_orderswrite_ordersread_draft_orderswrite_draft_ordersread_inventorywrite_inventoryread_locationsread_script_tagswrite_script_tagsread_fulfillmentswrite_fulfillmentsread_shippingwrite_shippingread_analyticsread_checkoutswrite_checkoutsread_reportswrite_reportsread_price_ruleswrite_price_rulesread_discountswrite_discountsread_marketing_eventswrite_marketing_eventsread_resource_feedbackswrite_resource_feedbacksread_shopify_payments_payoutsread_shopify_payments_disputes
OAuth Request Configurations:
  1. authorization
    GEThttps://{{custom_fields.shop_id}}.myshopify.com/admin/oauth/authorize?client_id={{oauth.client_id}}&state={{oauth.state}}&redirect_uri={{oauth.redirect_uri}}&scope={{oauth.space_separated_scopes}}
  2. accessToken
    POSThttps://{{custom_fields.shop_id}}.myshopify.com/admin/oauth/access_tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{oauth.client_id}}&client_secret={{oauth.client_secret}}&code={{oauth.code}}