Shopify Connector ¶
Author: Scott Banducci (scottbanducci@pingidentity.com)
Introduction ¶
Shopify is an e-commerce platform for online stores. The Shopify platform offers online retailers a suite of services including payments, marketing, shipping and customer engagement tools. The Shopify Connector for Davinci allows you to:
- Create a customer
- Read a customer
- Update a customer
- Delete a customer
- List customers (with some filters)
Setup ¶
Resources ¶
For information and setup help, see the following sections of the Shopify documentation:
Requirements ¶
To use the connector, you'll need:
- A Shopify store
- Your store's Admin API Access Token
- Go to your store's admin page -> Settings (bottom left corner) -> Apps and Sales Channels -> Develop Apps for your store -> click the store/sales channel you want an API token for -> API Credentials
- An API Version Number (as of June 15, 2022 we recommend "2022-04")
- Your Shopify store name (as appears in your {{storename}}.myshopify.com domain)
Setting up the connector ¶
In Davinci, add a Shopify connection via the "Connections" tab in your Davinci Environment. For help, see Adding a connection.
Connector settings ¶
Once you've added the connection click on it's logo, or click the "···" button and edit. You will see the connector's details pop-up. On the GENERAL tab, enter in your 1) API Version number 2) Store Name 3) Access Token
and click apply. This ensures that whenever you use this connector you will not have to reenter enter this information.
Using the connector in a flow ¶
The Shopify connector allows you to create, read, modify, list and delete customers in your Shopify store as part of your flow.
In the flow studio add a Shopify connector. Then choose the capability you'd like to use it for (create, read, update, delete, list). You will then need to select the parameters you need from previous nodes in the flow (ex. an HTML form) to populate the fields.
Creating a customer on your Shopify store ¶
If your business also sells branded merchandise via a Shopify store, you can enable your customers to make a purchase without the hassle of signing up to your Shopify store and entering information they've already provided to you.
Changing customer details ¶
If a customer of yours changes their address or deletes their account, you can use a Davinci flow and the Shopify connector to automatically cascade those changes to your Shopify store.
Generate a list of customers ¶
Lastly, should you wish to extract customer information you can use the connector to retrieve a list of customer objects (in JSON) from Shopify to use as you see fit.
Current list filters available via connector:
- Created Before / Created After
- Updated Before / Updated After
- Limit (#of results returned, max 250)
Filters NOT available via connector yet can be added as parameters to a GET HTTP request for a list of customers can be found here.
Capabilities ¶
Leave this section blank: it will be generated automatically
Troubleshooting ¶
Note that the Shopify API call will respond with either:
1) "customer" object (create, read, update), 2) "customers" object (list), 3) "customerDelete" object (delete)
See previously linked Shopify Documentation for details on these objects.
Testing capabilities ¶
You can test each capability individually. For help, see Testing capabilities.
Limitations ¶
- filtering parameters for the List Customers capability on this connector is not exhaustive compared to what the Shopify's API allows
- Unable to create, delete, update batches of customers