How to use IBM App Connect with Shopify

Shopify is an e-commerce platform for online retailers and retail point-of-sale systems. The Shopify platform delivers online services like payments, marketing, shipping, and customer engagement tools.

Availability:
  • App Connect Enterprise as a Service connector
  • A local connector in a Designer instance of IBM App Connect in containers (Continuous Delivery release)Local connector in containers (Continuous Delivery release) 12.0.7.0-r5 or later

Connecting to Shopify

Complete the connection fields that you see in the App Connect Designer Catalog page or flow editor. If necessary, work with your Shopify administrator to obtain these values.

Shopify connection fields:

Authorization method Connection field Description Applicability
API KEY Store name The name of your store on Shopify. For example, in the URL your-store.myshopify.com, 'your-store' is your store name.
Tip: For more information about store name, see Setting up your online store on the Shopify help center page.
App Connect Enterprise as a Service and App Connect in containers
Access token The access token used to make requests to the Shopify API.
BASIC OAUTH Store name The name of your store on Shopify. App Connect Enterprise as a Service and App Connect in containers
Access token The access token used to make requests to the Shopify API.
Client ID The public identifier for your application that is required for OAuth flow as well as interacting with Shopify API.
Client secret The client secret used by your application for authentication purposes.
OAUTH 2.0 AUTH CODE
Tip: Authorize connection to Shopify by signing in to your account.
Store name The name of your store on Shopify. App Connect Enterprise as a Service
To obtain the connection values for Client ID, Client secret, and Access token and to connect to IBM® App Connect, do the following steps:
Note: Choose the applicable steps for the connection values based on the authorization method you selected.
  1. To generate a Client ID and Client secret:
    1. Log in to your Shopify account.
    2. On the sidebar, click Apps.
      Note: If you don’t have an app, click Create app and follow the steps in the Shopify user interface.
    3. Click the app that you want to retrieve client credentials.
    4. Click Client credentials.
    5. Copy the Client ID and Client secret values and save them somewhere safe.
    6. For more information about Client ID and Client secret, see Retrieve client credentials on the Shopify developer page.
  2. To generate an Access token, see How to Generate a Shopify Access Token on the Shopify blog page.

To connect to a Shopify endpoint from the App Connect Designer Catalog page for the first time, expand Shopify, then click Connect. For more information, see Managing accounts.

Tip:

Before you use the account that is created in App Connect in a flow, rename the account to something meaningful that helps you to identify it. To rename the account on the Catalog page, select the account, open its options menu (⋮), then click Rename Account.

General considerations

Before you use App Connect Designer with Shopify, take note of the following considerations:

  • (General consideration) You can see lists of the trigger events and actions that are available on the Catalog page of the App Connect Designer.

    For some applications, the events and actions in the catalog depend on the environment and whether the connector supports configurable events and dynamic discovery of actions. If the application supports configurable events, you see a Show more configurable events link under the events list. If the application supports dynamic discovery of actions, you see a Show more link under the actions list.

  • (General consideration) If you are using multiple accounts for an application, the set of fields that is displayed when you select an action for that application can vary for different accounts. In the flow editor, some applications always provide a curated set of static fields for an action. Other applications use dynamic discovery to retrieve the set of fields that are configured on the instance that you are connected to. For example, if you have two accounts for two instances of an application, the first account might use settings that are ready for immediate use. However, the second account might be configured with extra custom fields.

Events and actions

Shopify events

These events are for changes in this application that trigger a flow to start completing the actions in the flow.

Show more configurable events: Events that are shown by default are pre-configured by using optimized connectivity. More items are available after you configure events that can trigger a flow by polling this application for new or updated objects. For more information about configurable events, see Configuring polled events to trigger flows.

Shopify actions

Your flow completes these actions on this application.

Customer addresses
Create address
Retrieve addresses
Customers
Create customer
Retrieve customers
Update customer
Update or create customer
Inventory items
Retrieve inventory items
Update inventory item
Inventory levels
Create inventory level
Retrieve inventory levels
Locations
Retrieve locations
Orders
Create order
Retrieve orders
Update order
Update or create order
Delete order
Products
Create product
Retrieve products
Update product
Update or create product
Transactions
Retrieve transactions

Examples

Dashboard tile for a template that uses Shopify

Use templates to quickly create flows for Shopify

Learn how to use App Connect templates to quickly create flows that complete actions on Shopify. For example, open the Templates gallery, and then search for Shopify.

Shopify flow in detailed view

Use IBM App Connect to build flows that integrate with Shopify.

Read the blog in the IBM Community to learn how to create a customer in Square when a customer is created in Shopify. Click Read the blog to go to the blog.