Hi, i’m trying to use the app vtex.orders-graphql@0.93.2 , specifically the customerOrders query.
query myQuery{
customerOrders{
list{
orderId
creationDate
status
totalValue
orderIsComplete
}
}
}
This works and succesfully returns the orders on the frontend of the mystore.myvtex.com domain.
But when testing this query in the frontend of the production domain (mystore.com.ar), the query returns 401 Unauthorized
code: "E_HTTP_401"
isAxiosError: true
message: "Request failed with status code 401"
name: "Error"
Is there any way to make this query work? It shouldn’t need any special permission because this query only accesses the current logged user orders.
Thank you in advance!