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.
- App Connect Enterprise as a Service connector
- Local connector in containers (Continuous Delivery release) 12.0.7.0-r5 or later
- Local connector in containers (Long Term Support Cycle-2 release)
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. |
- To generate a Client ID and Client secret:
- Log in to your Shopify account.
- 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.
- Click the app that you want to retrieve client credentials.
- Click Client credentials.
- Copy the Client ID and Client secret values and save them somewhere safe.
- For more information about Client ID and Client secret, see Retrieve client credentials on the Shopify developer page.
- 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.
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
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.
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.