Hi,
I am using the “get_order_details” method to fetch the placed order details with a valid order ID for which I placed the order today. However, I keep on getting empty response.
This issue might occur if there’s a mismatch between the order_id and the tag. Your current request is attempting to fetch the order id 230803025328558 associated with the tag tag_example. If this specific pairing doesn’t exist, the result will be empty. If you’re uncertain about the tag that was used during the order creation, you could omit the tag and try again using only the order_id.
I’m glad to hear that the solution worked for you!
The purpose of the Order Details API is to retrieve the history of an order, including every status change it has undergone. It’s not advised to use the order book to obtain information on a single order, as it’s an inefficient use of resources to sift through all the orders placed during the day. However, if the total number of daily orders is relatively small, utilizing the order book might be appropriate.