Skip to main content

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-from header 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:

FieldValueNote
Namee.g. active-flow-inventory-transferScheduling name
Cron Expression*/5 * * * *How often to run retrieval (e.g. */5 * * * * -> every 5 minutes)
Source TypehttpSource type to use
Urlhttps://adapter.flowlyze.io/api/adp/shopify/ingress/get-inventory-transferEndpoint URL to call
MethodGETHTTP method to call the endpoint
Headers :: x-api-key**********API key for endpoint interaction
Headers :: x-shopify-graphql-urlhttps://SHOPIFYURL.myshopify.com/Shopify shop URL
Headers :: x-shopify-access-tokenshpat_CODICEALFANUMERICOSecret of the custom app created for integration
Headers :: x-inventory-transfer-created-frome.g. 2024-11-15T12:00:00ZMinimum creation date; if empty, retrieval starts from the beginning (do not use autoincremental)
Headers :: x-number-of-inventory-transfers10Number of transfers to retrieve per call
Headers :: channel-codeYour Shopify StoreShopify 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
}
]
}