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.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

The order from draft orders cannot be accessed by the order API

Solved

The order from draft orders cannot be accessed by the order API

mark_tang
Tourist
6 2 0

There's an order from draft orders.

When I call the API (Retrieve a specific order) with its id, the response terms out to be {"errors": "Not Found"}.

mark_tang_0-1643112518339.png

 

Accepted Solution (1)
mark_tang
Tourist
6 2 0

This is an accepted solution.

Sorry, I find it showing "Not Found" because we are using custom app which only supports accessing data created within 60 days. This order from draft order was created right beyond that.

View solution in original post

Replies 2 (2)

Jason
Shopify Partner
11207 226 2321

Crazy question, you did use the Order ID and not the Order Name (the bit you blurred out) correct? If you have a request ID from the failed request, post that here. 

★ I jump on these forums in my free time to help and share some insights. Not looking to be hired, and not looking for work. http://freakdesign.com.au ★
mark_tang
Tourist
6 2 0

This is an accepted solution.

Sorry, I find it showing "Not Found" because we are using custom app which only supports accessing data created within 60 days. This order from draft order was created right beyond that.