Listing Draft Orders

Highlighted
Tourist
3 0 3

Is there a way to list draft orders on the customers page of a theme?

Like the full proper real orders in customers/order.liquid but the draft ones?
I haven't seen any mention of this possible in the documentation https://shopify.dev/docs/themes/liquid/reference/objects/customer like a customer.draft_orders instead customer.orders.
Is there any way to list these in the theme without using an app? On separate or even on the same page with a different loop?

Or do we need to find / create an app for this do it async-like?

We have B2B partners that place Net 15 / Net 30 draft orders and sometimes a lot of changes happen to an "order" before finishing up.
Changing line items, shipping cost, shipping / billing address, etc. so we can't use real orders without canceling, duplicating as draft, making an order out of it, then canceling, duplicating, creating again and again, we want to keep it draft as long as possible.
But we also want to list, show these to our B2B partners so they don't get confused and fussy that they don't know what's in their orders and for how much, etc.

Does anyone have any experience with this?

Thanks,
István Solymosi

1 Like
Highlighted
Explorer
50 1 17

any idea where the draftOrder object is located? it is not listed under the order object, nor in the list of objects, however it is an object!

 

https://shopify.dev/docs/admin-api/graphql/reference/object/draftorder

 

0 Likes