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.
Building a flow in IBM App Connect with Shopify
Use App Connect to build flows that integrate with Shopify and other applications. The connector is displayed as Shopify on the App Connect User Interface (UI).
To allow App Connect to connect to your Shopify account, you need to fill in the connection fields that you see in the App Connect Designer Catalog page or flow editor.
Supported authorization types:
- BASIC OAUTH
- API KEY
- OAUTH 2.0 AUTH CODE
For detailed information about different authorization types, how to generate connection field values, and how to use the Templates gallery, see How to use IBM App Connect with Shopify on the IBM Documentation page.
Supported objects in Shopify
||Information about a shop's customers, such as their contact details, their order history, and whether they've agreed to receive email marketing.
||Represents addresses that a customer has added. Each customer can have multiple addresses associated with them.
||Represent physical goods. It holds essential information about the physical goods, including their SKU and whether their inventory is tracked.
||Represents the quantities of an inventory item for a location
||An order is a customer's request to purchase one or more products from a shop
||Used to update and create products in a merchant's store
||Represents money passing between the merchant and a customer.
||Represents a geographical location where your stores, pop-up stores, headquarters, and warehouses exist
Scenario: Create a customer in Square when a customer is created in Shopify
Consider this scenario; when Shopify receives a new request, a new customer is created in Shopify and sent as a response. This customer information is then retrieved by Shopify from a request and the new customer is added to Square.
The following steps are involved in the flow:
- In the first part of the flow, the event-driven flow gets triggered when Shopify receives a new request containing customer data.
- Using the Create customer action in Shopify, a customer is created in the Shopify dashboard with a customer ID.
- A response containing the first name, email ID, and Shopify-generated customer ID is sent.
- In the next part of the flow, a new request is received by Shopify as a request URL.
- Using the Retrieve customers action in Shopify, the customer data containing the customer ID is retrieved from Shopify.
- Using the Create customer action in Square, a new customer is added to the Square account with the data retrieved from Shopify.
Tip: For more information about creating a flow from an API, see Introduction: Creating flows for an API on the IBM documentation page.
You can view this template and other useful templates in the Templates gallery of your App Connect Designer instance.
Get started with a free IBM App Connect Enterprise as a Service trial for 30 days to try out all our templates, visit https://ibm.biz/app-trial.
If you are running a containerized instance of IBM App Connect, use the following URL to directly access the template:
- Create a customer in Square when a customer is created in Shopify:
<your-instance-id> in the URL with your custom instance ID.
You must enable the Designer AI features in your containerized environment to access the App Connect templates. For more information, see The preloaded IBM App Connect templates.
You also have the option to import the .yaml file for this template directly into your App Connect Designer instance. These templates are available in a public GitHub repository.