App Connect

 View Only

Using IBM® App Connect to connect with Shopify

By Deepak Ayilliath posted Sun September 24, 2023 09:41 AM

  

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

Object Description
Customers Information about a shop's customers, such as their contact details, their order history, and whether they've agreed to receive email marketing.
Customer addresses Represents addresses that a customer has added. Each customer can have multiple addresses associated with them.
Inventory items Represent physical goods. It holds essential information about the physical goods, including their SKU and whether their inventory is tracked.
Inventory levels Represents the quantities of an inventory item for a location
Orders An order is a customer's request to purchase one or more products from a shop
Products Used to update and create products in a merchant's store
Transactions Represents money passing between the merchant and a customer.
Locations 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.

Creating a customer in Shopify - 1st part of the flow

Creating a customer in Square - 2nd part of the flow

The following steps are involved in the flow:

  1. In the first part of the flow, the event-driven flow gets triggered when Shopify receives a new request containing customer data.
  2. Using the Create customer action in Shopify, a customer is created in the Shopify dashboard with a customer ID.
  3. A response containing the first name, email ID, and Shopify-generated customer ID is sent.
  4. In the next part of the flow, a new request is received by Shopify as a request URL.
  5. Using the Retrieve customers action in Shopify, the customer data containing the customer ID is retrieved from Shopify.
  6. 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.

Useful resources

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: https://<your-instance-id>/templates/Create%20a%20customer%20in%20Square%20when%20a%20customer%20is%20created%20in%20Shopify

            Note: Replace <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.

#AppConnect#Shopify#square

0 comments
33 views

Permalink