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

 

 

0 Likes
hassain
Shopify Staff (Retired)
Shopify Staff (Retired)
623 102 136

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 

0 Likes
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)
623 102 136

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 

0 Likes
james148
Shopify Partner
13 0 13

Any update on this?

 

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

lesterdefreitas
Shopify Expert
9 0 4

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
Excursionist
14 1 3

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

0 Likes
lesterdefreitas
Shopify Expert
9 0 4

@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
0 Likes
bahadir_e
Excursionist
14 1 3

Unfortunately we are in the same position with you  

0 Likes
den232
Explorer
46 0 5

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