Hi everyone,
I’m building a Shopify Customer Account Extension using @shopify/ui-extensions-react/customer-account. I would like to access a customer’s past orders (e.g., customer.orders) directly within the extension to show them some basic information.
However, I’m getting the error:
“Access denied for orders field.”
My question is:
Is it possible to access customer orders in a Customer Account Extension without building my own backend?
If not, what’s the recommended way to securely access customer order history in this context?
Thanks in advance!