You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is defnietly a bug in the order update workflow. This bug only happens when I am a logged in customer. I assume there is an issue in the order-created hook or something.
I want to expand the
retrieveCompany()
method to attach an array of all orders as well.It should be extremely straight forward but I simply cannot get it to work.
When I add the
*orders
like below to fetch orders as well the validator on the server keeps complaining:error: Requested fields [orders] are not valid
I have added it to the validator though like so:
Does anyone have a working example of how to expand the companies endpoint to fetch an array of all orders that company placed?
The text was updated successfully, but these errors were encountered: