Orders created through Draft Order API are not visible on StoreFront

SyedAbdullah
New Member
3 0 0

Greetings,

We are creating Orders for Wholesale Customers using Shopify Draft Order API

Problem:
If we apply the wholesale pricing to order through Shopify Admin then the order is displayed on storefront but when the same wholesale pricing is applied through the API, the orders are not being displayed on the storefront under customer order history (Wholesale Channel).

We have thousands of Draft orders which cannot be processed through the Admin individually so, how can we create the Orders which will be displayed on StoreFront without manual processing from the admin.

Regards,
Syed Abdullah

0 Likes
HunkyBill
Shopify Expert
4355 36 462

Just to be clear here, you are actually completing the Draft Orders you create with the API so that they actually exist as orders right? Because if they are not orders, of course they won't show up in the order history for the customer. Just checking... can you confirm?

 

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
0 Likes
SyedAbdullah
New Member
3 0 0

@HunkyBill  On Frontend, I can see both Draft and Completed orders only if Wholesale pricing is applied through the admin.
for instance, Order# 5, 6, and 18 are still Draft Orders but they are visible on Frontend as Wholesale pricing was applied through Admin (Screenshot attached)
The orders that have Wholesale pricing applied through the Admin.The orders that have Wholesale pricing applied through the Admin.


I have tried completing the Draft Orders and they are listed in Admin under orders as well but they are not being displayed on StoreFront unless I apply Wholesale Pricing through Admin instead of the API.

0 Likes
HunkyBill
Shopify Expert
4355 36 462

My guess then is that wholesale flag from Shopify is not wired up to anything in the API, so you are out of luck until they wire that in as an attribute.

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
0 Likes