When a site member has no order it properly displays the My Orders box showing “You haven’t placed any orders yet.”
However, after initiating Create Order from the Wix Rest API, I am able to see the orders from the site dashboard, but trying to view the order in the member’s page as the site member I’m using to test just keeps it spinning/loading and displays this error message:
ApolloError.js:34 Uncaught (in promise) Error: GraphQL error: INVALID_ARGUMENT: [http://10.173.45.46:9910/com.wixpress.quotes.wix-quotes-web/_rpc/InvoicesService~<none>#createPreviewLink]
at new t (ApolloError.js:34:28)
at QueryManager.js:325:41
at QueryManager.js:818:25
at Array.forEach (<anonymous>)
at QueryManager.js:815:27
at Array.forEach (<anonymous>)
at e.broadcastQueries (QueryManager.js:812:42)
at QueryManager.js:747:31
I’ve tried using a different site member to see if it was just something bugged with the site member itself, but the same thing happened. It looks like initiating orders from the REST API is just causing the query to not work properly.
Thank you.