How to get order info on the order status page

bemissmith
Tourist
10 2 3

I am working on an app that requires access to order info on the order status page.  It seems only the checkout information and the order ID is available in the Shopify object when the page loads.  Since I can't directly edit the order status page I'm using a script tag to pull in javascript that performs a get request for the order info based on the available order_id.   The problem is this runs on the client and requires a login when it makes the request.  Is there a way to read the order info from some element in the order status page?  Is there some way I can authenticate without having the login popup?  I noticed a token is available but this doesn't seem to apply to my get request.

0 Likes