Skip to content

Customer with a list of orders in the authorization response #2606

Answered by srindom
maxpanakov asked this question in Q&A
Discussion options

You must be logged in to vote

Think this is a great point! There are a couple of things that would need to be done here, however:

  1. Support fields and relations params on the customer endpoints
  2. Set defaultRelations, defaultFields for /store/customers/* endpoints.
  3. Ensure that /store/customers/me/orders works as expected.

Would you be interested in opening a PR on this?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by srindom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants