For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
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?
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