Draft order admin api is not returning complete response.

Draft order admin api is not returning complete response.

israressa
Shopify Partner
1 0 0

Im using shopify admin api's for some custom functionality i have created on my store. I happened to use the draft order admin api today and i noticed that its returning incomplete response. I mean the data it returns is dated till 14 Nov 2022 while i have draft orders dated after 14 Nov on my store. Im not sure what is the issue here. I've been using orders.json api to retreive all the simple orders and it works completely fine. 

FYI: I have used draft api for the first time today. 

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1453 238 501

Hey @israressa - would you be able to share a snippet of the incomplete response (removing any private store/customer data) if possible? If you have an X-Request-ID that would have been supplied through the headers in the Shopify response to the draft order API call you made, we could also use that to look more deeply into this for you.

Hope to hear from you soon! 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us 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