Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

When will CreateSupplier and PurchaseOrderCreateMutation be available to use?

Solved

When will CreateSupplier and PurchaseOrderCreateMutation be available to use?

RyanTechLLC
Shopify Partner
18 2 20

I need to create purchase orders (https://help.shopify.com/en/manual/products/inventory/purchase-orders) via the Admin API. They have been added to the admin front-end without any of the queries or mutations subsequently made available. When will they be added to a release (even if it's just in unstable)? 

 

Screenshot 2024-01-01 204632.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Screenshot 2024-01-01 200355.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Screenshot 2024-01-01 200430.png

 

Accepted Solution (1)

Liam
Community Manager
3108 344 910

This is an accepted solution.

Hi Ryan,

 

I've connected with the b2b product team on this and while these mutations are not currently available, it is possible to adjust incoming quantities via the API, and you can also share the date of arrival. We'll be improving this experience later this year so keep an eye on our developer changelog

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 7 (7)

Liam
Community Manager
3108 344 910

This is an accepted solution.

Hi Ryan,

 

I've connected with the b2b product team on this and while these mutations are not currently available, it is possible to adjust incoming quantities via the API, and you can also share the date of arrival. We'll be improving this experience later this year so keep an eye on our developer changelog

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

RyanTechLLC
Shopify Partner
18 2 20

Hey Liam,

Thank you for checking in with them, it's good to hear that they are looking to release it this year. For now, my specific workaround will need to use a regular order object and a custom metaobject, but I'll be keeping my eye on that changelog to get switched over asap once they're released. 

If y'all take in priority suggestions, please give them a +1 from me to pump this update out as soon as they can. Thanks! 

PaulNewton
Shopify Partner
8031 688 1649

@RyanTechLLC If this is for your own merchant usage there's always tools like autoit,or webdrivers, or browser extensions  for automating UI interactions in singular use cases when platforms lack the proper apis.

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


RyanTechLLC
Shopify Partner
18 2 20

@PaulNewton, I love using Selenium WebDriver and Microsoft Power Automate for my own automations. This app I'm working on now is for a client's store, so everything has to be nicely packaged with 0 manual setup required. Running a headless web driver on the server is actually very close to a working solution, the only issue I see is needing to log in to their admin and dealing with password changes.

They want their b2b customers to be able to manage their own inventory levels and place inventory reorders- hence the no-brainer to use a purchase order. I think a regular order with some tags will work fine for now. The most critical part is logging any incoming serial numbers, asset tags, PO numbers, etc. which is where I think the custom metaobject definition will come into play. Still planning this out though.

tadeouy
Shopify Partner
2 0 0

Hey RyanTechLLC!
Have you found a workaround to create a PO programmatically from an Order?
I need to place a PO with 140 different variants (and quantities) and I want to avoid to loose the entire day entering it by hand.

Thank you for any clue about this!

ivanantonov97
Visitor
1 0 0

Hi Liam,
Hope you're well. Are there any updates on this, in regard to querying and mutating PurchaseOrders?

tadeouy
Shopify Partner
2 0 0

Hi! Any update on this?
I need to add POs with 100-200 lines periodically and having to do it manually is far from acceptable.

Thank you!