Skip to main content

Product Import

Shopify products are actively retrieved by Flowlyze.

The Adapter adds a metafield to the product to verify its export (Flowlyze Exported) and avoid duplicate sends towards the destination, but only if the unique synchronization header is set to true. This behavior allows synchronizing a product only once, ignoring any subsequent updates (optional behavior, configurable via header). If the header is not set, the metafield is not set and the product can be exported multiple times.

Warning

Update loop risk

Flowlyze relies on the product's last update date (updated_at field) to determine which elements to retrieve from Shopify. If the header control is not configured correctly, any product modification (or save) will update this field, causing its continuous import and possible infinite synchronization cycles.

Active Product Flow Configuration

After creating the destination, proceed with flow insertion.

CampoValueNote
Namee.g. active-flow-productScheduling name
Cron Expression*/5 * * * *How often to retrieve products (e.g. */5 * * * * -> every 5 minutes)
Source TypehttpSource type to use
Urlhttps://adapt.flowlyze.com/api/adp/shopify/ingress/get-products-updated-afterEndpoint URL to call (see note at end of table)
MethodGETMethod to call the endpoint
Headers :: x-api-key**********API key for endpoint interaction verification
Headers :: x-shopify-graphql-urlhttps://SHOPIFYURL.myshopify.com/Shopify shop URL to connect to
Headers :: x-shopify-access-tokenshpat_CODICEALFANUMERICOSecret of the custom app created for integration
Headers :: x-last-product-updated-processed"lastProductUpdatedProcessedDate to start retrieving products from, to be used with autoincremental
Headers :: x-sync-product-oncetrueBoolean to import the product only once, does not propagate updates (default false)
Headers :: channel-code"Your Shopify StoreYour Shopify shop name or code
Headers :: x-number-of-products10Number of products to retrieve per call (default 10)

Example of retrieved information

{
"channel": "YourShopifyCode",
"id": "gid://shopify/Product/123456789",
"title": "The Complete Snowboard",
"featuredMedia": {
"alt": "Top and bottom view of a snowboard.",
"url": "https://cdn.shopify.com/s/files/1/0881/6348/3955/files/Main_123456789.jpg?v=123456789"
},
"variants": [
{
"sku": "ABC001-Ice",
"optionValues": {
"color": "Ice"
}
},
{
"sku": "ABC001-Dawn",
"optionValues": {
"color": "Dawn"
}
},
{
"sku": "ABC001-Powder",
"optionValues": {
"color": "Powder"
}
},
{
"sku": "ABC001-Electric",
"optionValues": {
"color": "Electric"
}
},
{
"sku": "ABC001-Sunset",
"optionValues": {
"color": "Sunset"
}
}
]
}