Access to Transfers via API

J_Douglas_Cryer
Shopify Partner
4 0 9

Are there any plans to make transfers available via the API?

The best way to manage stock for us would be to post in a transfer and have the shop owner accept the stock in line by line or automatically accept the entire transfer.  This would then update the inventory accordingly through a controlled process.  Otherwise it is necessary to update inventory through the variants using inventory_quantity and old_inventory_quantity which is less safe and does not cleave a clear audit trail.

This could be achieved if the Transfer elements were exposed via the API.

Replies 14 (14)
HunkyBill
Shopify Expert
4763 54 548

Cool request. I can see a lot of merchants loving that. 

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
MarcoM
Excursionist
16 0 10

We (like many others...) REALLY need API access to the transfers to get the incoming quantities of each product.
There are may open Forums for years about this issue but no satisfactory replies from Shopify!
Regretfully there are not even apps to work around this matter...
Even worse, the Transfers cannot even be properly printed to be used as Purchase Orders to suppliers.
Any plan to re-open the tranfers API or to implement an export feature within the shopify admin?
That would be optimal and acceptable option for most.
Thank you!

HunkyBill
Shopify Expert
4763 54 548

@MarcoM if you have not been following Shopify closely, there is a whole new inventory management system being introduced. Multi-location inventory. Hence the old Transfers will likely be morphing into something new too. So if you are patient a bit, it may soon be likely you could access inventory in a more meaningful way. 

In other works, this issue is very likely to go away and be replaced with others. So best to gear up for the future and not the past!

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
MarcoM
Excursionist
16 0 10

@HunkyBill that is a GREAT news!
I was not aware of the new Shopify inventory managemet. If you could post a link to some article about it I am sure that would be appreciated by the many other users that keep posting in the numerous forums open about this matter.
Thanks.

HunkyBill
Shopify Expert
4763 54 548

As an example: https://help.shopify.com/api/reference/inventorylevel

 

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
MarcoM
Excursionist
16 0 10

Thank you, although I do not see any reference to the actual "Transfers" which basically is an inbound Purchase Order from a vendor.
What we are looking for is the API access to the transfers to get the incoming quantities of each product, or get the ability to export all open "Transfers". We hope is going to be part of the new Inventory app as you mentioned.

Patiently waiting... 🙂

HunkyBill
Shopify Expert
4763 54 548

I was only pointing out that you won't get transfers till all the new inventory API is worked out... makes sense right?

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
Webgility1
Explorer
50 1 8

Now Do we have the APIS to Add and edit Transfers?

den232
Shopify Partner
96 1 25

Right.  So, three years later, March 2021.    Anything that will expose this info?  Thanks!  jb

den232
Shopify Partner
96 1 25

Hi again.

Since I'm new to this issue and just to confirm that I'm not missing something, I reached out to developers of a high-ranking app, Excelify, who have an app that exports and imports "everything" about your shop, orders, inventory, etc., to see if their app was able to access this "transfers" or incoming purchase orders information.   For the record, I received the following reply:

Renars here from Excelify.

At the moment, Shopify API does not allow apps to access and see this data, so we are not able to export it.

I have added your contact details for this feature in our Customer Needs list so that once Shopify allows this and we have it developed, we can let you know.

So, it's "not just me".  Cheers jb

StephenK
Shopify Partner
65 6 31

I have a client who wishes to get a list of all line items on an Inventory Transfer (including the barcode, SKU fields, and possibly Metafields)

Whilst poking around I have found that the admin area allows JSON responses for transfers, albeit not documented nor available on the /admin/api/[version]/ paths:-
/admin/transfers.json
/admin/transfers/[transfer_id].json

However don't find these on the GraphQL which makes achieving the above awkward and need multiple queries, rather than crafting a nice GQL one to get all the bits they need.

Plus running the risk of the endpoints changing at somepoint.

Some Shopify/Ecommerce related articles - https://medium.com/@stephenkeable
den232
Shopify Partner
96 1 25

Hi Stephen,

 

it is exactly as you say. As you point out, these endpoints are unsupported, so not only are they subject to abrupt deletion,  but any defects in them will be on you, and you will be owed no warning or even notice of their zapping. 

in addition, these are difficult to automate, as your server will have to be logged in (as you) to access the data. And that logging in status only lasts for a while. Weeks or months, and once it’s over, the endpoints will “just fail” for it. You will have to personally re-enable it. I suspect that this logged-in status will also terminate in the event of your server being rebooted or the like. 

so, from the point of view of automation, nasty and unreliable. 

cheers jb

StephenK
Shopify Partner
65 6 31

Ended up building a Chrome Extension recently for a client, to enable them to export Transfers as CSV from the admin:-

https://github.com/stephenkeable/Shopify-Transfers-Export-Chrome-Extension

Might be of use to people on this topic, even if it's not native functionality or an API.

Some Shopify/Ecommerce related articles - https://medium.com/@stephenkeable
den232
Shopify Partner
96 1 25

Hi @StephenK ...  As you point out ... 

 

Warning, this uses undocumented Shopify endpoints, so it might stop working if they change these

 

I suppose everything is subject to change, so perhaps I've been too focused on this one.

Cheers jb