Inventory Transfer Import
Shopify inventory transfers (Inventory Transfer) are actively retrieved by Flowlyze.
Only transfers in TRANSFORMED status are imported.
The information retrieved for each transfer includes:
- transfer identifier and name.
- note and status.
- total and received quantity.
- origin and destination (origin and destination): location code and name.
- creation date (createdAt).
- line items (items): SKU and quantity for each item in the transfer.
The Adapter adds a tag to the inventory transfer upon export so it is not retrieved again on subsequent calls.
💡 Creation date filter
You can set the
x-inventory-transfer-created-fromheader to limit retrieval to TRANSFORMED transfers created from that date onward. If the header is empty, all eligible transfers are considered from the beginning.Do not use this value in autoincremental mode: if Shopify updates transfers in between, some may no longer match the incremental filter and be missed.
Active Inventory Transfer Flow Configuration
After creating the destination, which for an active flow can be
a database or an endpoint, configure the flow by enabling scheduling
(Schedulation Enabled) and setting it as follows:
| Field | Value | Note |
|---|---|---|
Name | e.g. active-flow-inventory-transfer | Scheduling name |
Cron Expression | */5 * * * * | How often to run retrieval (e.g. */5 * * * * -> every 5 minutes) |
Source Type | http | Source type to use |
Url | https://adapter.flowlyze.io/api/adp/shopify/ingress/get-inventory-transfer | Endpoint URL to call |
Method | GET | HTTP method to call the endpoint |
Headers :: x-api-key | ********** | API key for endpoint interaction |
Headers :: x-shopify-graphql-url | https://SHOPIFYURL.myshopify.com/ | Shopify shop URL |
Headers :: x-shopify-access-token | shpat_CODICEALFANUMERICO | Secret of the custom app created for integration |
Headers :: x-inventory-transfer-created-from | e.g. 2024-11-15T12:00:00Z | Minimum creation date; if empty, retrieval starts from the beginning (do not use autoincremental) |
Headers :: x-number-of-inventory-transfers | 10 | Number of transfers to retrieve per call |
Headers :: channel-code | Your Shopify Store | Shopify shop name or code |
Example of retrieved information
{
"id": "gid://shopify/InventoryTransfer/123456",
"name": "#T0011",
"note": null,
"status": "TRANSFERRED",
"totalQuantity": 10,
"receivedQuantity": 10,
"origin": {
"locationCode": "gid://shopify/Location/124578",
"locationName": "Magazzino Principale"
},
"destination": {
"locationCode": "gid://shopify/Location/987654",
"locationName": "Negozio"
},
"createdAt": "2026-05-11T00:00:00+00:00",
"items": [
{
"id": "gid://shopify/InventoryTransferLineItem/147852369",
"sku": "ART_01_12",
"quantity": 5
},
{
"id": "gid://shopify/InventoryTransferLineItem/958674",
"sku": "ART_01_11",
"quantity": 5
}
]
}