FROM CACHE - en_header

Is there an api for PurchaseOrder

msalem
New Member
2 0 1

I can't find in document any details about PurchaseOrder 

the below link talking about customer order 

https://shopify.dev/docs/admin-api/rest/reference/orders/order

 

 

Replies 12 (12)
hassain
Shopify Staff (Retired)
Shopify Staff (Retired)
624 104 177

Hi @msalem ,

 

Shopify uses a concept of "Draft Order" that serves the same functionality as a Purchase Order (e.g. you can create an order for a customer and then collect payment at a later date either through Cash on Delivery or manually entering their credit card information). 

 

You can read more about Draft Orders here: https://help.shopify.com/en/manual/orders/create-orders

Here is the API for it: https://shopify.dev/docs/admin-api/rest/reference/orders/draftorder?api[version]=2020-04

 

Hassain | Developer Support Specialist @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

msalem
New Member
2 0 1

Screenshot_39.png

Thank you for fast reply, i am talking about product PO that effect to inventory items, not customer items and orders 

 

 

 

 

hassain
Shopify Staff (Retired)
Shopify Staff (Retired)
624 104 177

Hi @msalem ,

 

Thanks for the clarification.

 

As far as I know, there is no publicly available API for this "Products - Purchase Orders' feature. However feel free to keep your eye out on our Developer Changelog to see if we ever release this one day: https://shopify.dev/changelog

 

Hassain | Developer Support Specialist @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

james148
Shopify Partner
13 0 14

Any update on this?

 

The feature seems deficient if we cannot update it through an API.

lesterdefreitas
Shopify Expert
11 0 5

There also appears to be no liquid documentation for this new beta feature which is proving to be an issue for a client of ours who wants to be able to show the next incoming inventory date for his variants on the page. In his store, transfers do not function the same way anymore, they only work for transferring inventory from one location to another, whereas he only has one.

Instead it seems that we have to use the PO feature to create an actual incoming transfer. Even after creating the PO though, there is still no inventory transfer incoming and using the liquid object below returns false.

{{ variant.next_incoming_date }}

What are we supposed to do here? 

Lester de Freitas
The Web Elite | Shopify Experts
bahadir_e
Shopify Partner
25 1 5

@lesterdefreitas Have you found an answer about the next incoming date?

Supply Planning Expert
Co-founder & CEO @Fabrikatör
Virtual Inventory Assistant: Intelligent supply planning app for forecasting, planning and ordering inventory.
lesterdefreitas
Shopify Expert
11 0 5

@bahadir_e Sadly not really. The only explanation Shopify gave us was that this is a beta feature, which is what we already know. It's been a while since I've looked into this though, so I am not sure if maybe the documentation has now been updated with more info about this feature and how to show incoming inventory in liquid when it is enabled. I take it though that it probably hasn't otherwise you probably wouldn't have ended up in this thread right!

Lester de Freitas
The Web Elite | Shopify Experts
bahadir_e
Shopify Partner
25 1 5

Unfortunately we are in the same position with you 😕 

Supply Planning Expert
Co-founder & CEO @Fabrikatör
Virtual Inventory Assistant: Intelligent supply planning app for forecasting, planning and ordering inventory.
den232
Shopify Partner
113 1 28

This sounds closely related to a transfers API ... to be able to get quantity and expected date of incoming products - which is what I badly need.  Am I right?  Or is there some other vehicle that will provide this info?  Thanks jb

den232
Shopify Partner
113 1 28

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

maknij
Excursionist
29 0 5

I'm also looking for a solution here - I have the situation where I continue selling stock that I expect coming in over multiple PO's, and I want to be able to show a realistic date on the product page for when stock is expected (variant.next_incoming_date only shows the data of the earliest matching PO regardless of counts). For example I might be expecting 20 x Product A across 4 x PO's (5 in each PO) in April, May, June and July. If my inventory count is already at -16 when someone wants to order, then I want the date of July's PO to show as there is 'spare' stock coming in this particular PO.

Would really help to have access to PO incoming counts.

den232
Shopify Partner
113 1 28

Hi @maknij 

this is virtually identical to my situation. My end customers are building custom pieces of jewelry, each of which uses multiple counts of its components, like any manufacturing process, and I want to predict for them their delivery dates, which depend on current inventory and open orders (quantity, date) for the components. 

Based on multiple interactions with others on this forum and one major app developer who was very helpful, there is a glaring lack of api for open incoming orders, which Shopify confusingly calls transfers. The only access to this information I have uncovered is an undocumented and unsupported endpoint called transfers.json, which will give you ALL the transfers, past present open closed, but requires your browser to be logged in to admin. I am extremely reluctant to actually use it. Search for it on this forum (such as in my posts) for details. 

This information gap is serious and the requests for it go back many years, so for me at least it has been motivation to (shudder) consider competitors to Shopify on my (next) major rewrite. Do let me know if you unearth anything!

good luck, jb