Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

Re: Draft Orders frequently forgotten about with new API or dev features

Draft Orders frequently forgotten about with new API or dev features

StephenK
Shopify Partner
81 7 46

With the recent addition of Admin Actions to the tools available to app developers, I was hopeful to add this to an app of mine, however there is no target for Draft Orders, only for Orders:-

https://shopify.dev/docs/api/admin-extensions/unstable/api/extension-targets

 

I've had similar issues in the past such as the App Bridge Redirect object where, you can make use of the ResourceTypes for orders to handle a redirect. However none for DraftOrder, meaning you have to use ADMIN_PATH and create a string with the ID, in order to redirect to a DraftOrder directly.

 

Why are Draft Orders overlooked when new features are added by the Shopify team?

Some Shopify/Ecommerce related articles - https://medium.com/@stephenkeable
Reply 1 (1)

Liam
Community Manager
3108 344 894

Hi StephenK,

 

Thanks for flagging this inconsistency across resources - it's possible this is on the product teams roadmap. I'll communicate this feedback to them and let you know if there's an update. 

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