Shopify
The adapters for Shopify are the result of years of experience as Shopify Partner Plus.
The benefits of our solution:
β‘ Excellent performance for sending data to Shopify.
πΈ Integrating Shopify is complex. Instead, you can focus on product data with our simplified APIs.
β Deprecated APIs will no longer be a problem. Updates will be automatic and transparent.
π£ Simple JSONs for complex operations. Product creation calls more than 20 Shopify queries and mutations.
Shopify Product Flowsβ
Steps required to activate a product synchronization flow
Shopify Order Flowsβ
Steps required to activate an order synchronization flow
How to Create a Custom App Using the Dev Dashboard (New Method)β
To create a new custom app compatible with OAuth / Client Credentials, follow these steps:
- Log in to the Dev Dashboard β or, from the Shopify Admin, go to Settings > Apps and sales channels > Develop apps > Build apps in Dev Dashboard.
- In the βAppsβ section of the Dev Dashboard, click Create app β select Start from Dev Dashboard.
- Give the app a name and confirm with Create.
- Once the app is created, go to the Versions tab and create a version:
- set your app URL (if it is not embedded inside the Shopify Admin, you can use the default URL provided by Shopify)
- select the Webhooks API version (typically the latest available)
- define the required scopes β the API permissions needed by your integration (inventory, orders, products, locations, etc.)
- save and Release the created version.
- Install the app on your store: in the appβs βHomeβ section inside the Dev Dashboard, click Install app, select or create the store on which to install it, and confirm with Install.
- Authenticate the app using the Client Credentials Grant: retrieve the Client ID and Client Secret from the app created in the Dev Dashboard. These credentials will be necessary to generate a token to be used in API calls (a βshop access tokenβ).
Shopify documentation β Creating custom apps via Dev Dashboard
Authenticationβ
The integration supports three authentication methods with Shopify:
- Access Token Authentication (Legacy - no longer available for new apps after January 1, 2026)
- OAuth Authentication (
Client ID+Client Secret) β recommended and supported method for new apps. - Offline Access Token Generation via OAuth (
Client ID+Client Secret) β allows generating an offline token that does not expire until the app is uninstalled.
You can freely choose which method to use based on your Shopify app configuration. If both methods are provided in the same request, OAuth (Client ID + Client Secret) will take precedence.
Important Note: Starting January 1, 2026, it will no longer be possible to create new legacy custom apps (Access Token). Existing apps will continue to work, but all new integrations must use OAuth authentication.
1. Access Token Authentication (Legacy)β
If the app uses a private Access Token (for example, a token generated under Admin > Apps > Develop apps), simply include it in the request header:
| Header | Value | Description |
|---|---|---|
x-shopify-access-token | shpat_*************** | Shopify app access token |
2. OAuth Authenticationβ
If you use OAuth authentication, you must include both the Client ID and Client Secret in the request headers:
| Header | Value | Description |
|---|---|---|
x-shopify-client-id | *************** | Integration app client ID |
x-shopify-client-secret | *************** | Integration app client secret |
3. Offline Access Token Generation via OAuthβ
For new apps created via the Dev Dashboard, you can generate an offline token that does not expire until the app is uninstalled. This token is useful for server-to-server integrations without needing to manage periodic renewals.
Requirements:β
- The app must be registered via Dev Dashboard.
- The following are mandatory:
clientIdclientSecretshopifyShopUrl
- Scopes are optional; if not provided, all available Shopify scopes will be applied.
- A redirect endpoint must be registered in the app version (redirectUrls field).
Generation Flow:β
- Request the authorization URL:
- Call the endpoint protected by API Key passing
clientId,clientSecret, andshopifyShopUrl. - The endpoint returns an authorization URL valid for 5 minutes, which must be opened in a browser.
- This URL leads to Shopify consent (if needed) or directly to the redirect with the token.
- Obtain the token:
- Once the app is authorized, Shopify redirects to the
/oauth/redirectendpoint. - The endpoint generates the offline token and returns a JSON response with
accessToken. - All temporary data is immediately removed for security reasons.
Example Calls:β
Authorization Endpoint
| Field | Value | Notes |
|---|---|---|
| Endpoint | {ADAPTER_BASE_URL}/oauth/authorize | Returns an authorization URL valid for 5 minutes |
| Method | GET | β |
| Headers :: x-api-key | *************** | API key to protect the endpoint |
| Headers :: x-shopify-client-id | *************** | Integration app Client ID |
| Headers :: x-shopify-client-secret | *************** | Integration app Client Secret |
| Headers :: x-shopify-shop-url | https://SHOPIFYURL.myshopify.com/ | Shopify shop URL |
Redirect Endpoint
| Field | Value | Notes |
|---|---|---|
| Endpoint | {ADAPTER_BASE_URL}/oauth/redirect | Callback endpoint that returns the offline token |
| Method | GET | β |
| Headers / Parameters | β | All temporary data is immediately removed after token issuance |
To use this token in Flowlyze Adapter API calls, include it in the request header:
| Header | Value | Description |
|---|---|---|
x-shopify-access-token | shpat_*************** | Shopify app access token |
Note: The generated offline token remains valid until the app is uninstalled from the Shopify store.
Metafield Definitionβ
Register metafields within Shopify Admin -> Settings -> Custom Data
Enter the necessary custom metafields in the "products" group.
Choose metafield types carefullyβ
Metafields influence both the import and translation process. The metafield type makes it possible or not to create category filters or the presence of HTML.
Destinationβ
Configuration of a Shopify destination, which will then be used by other flows to interact with the e-commerce. Download example destination
| Field | Value | Notes |
|---|---|---|
destination_type | HTTP Adapter | integration adapters work via http |
Base Url | https://adapter.flowlyze.io | adapter URL |
Headers :: x-api-key | ********** | API key for endpoint interaction verification |
Headers :: x-shopify-graphql-url | https://SHOPIFYURL.myshopify.com/ | Shopify shop URL to connect to |
Headers :: x-shopify-access-token | shpat_CODICEALFANUMERICO | secret of the custom app created for integration |
Shopify Flowsβ
ποΈ Prodotti
9 items
ποΈ Clienti
3 items
ποΈ Ordini
8 items
ποΈ Rimborsi
1 item
ποΈ Market
1 item
ποΈ Metaobjects
1 item
ποΈ Metafield
2 items
ποΈ Company
1 item
ποΈ Smart Collection
Creating Smart Collections allows you to generate dynamic collections
ποΈ Gift Card Import
Shopify gift cards are synchronized by Flowlyze starting from their creation date,
ποΈ Deprecazioni
4 items