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 want to get a customer group by user ID on the storefront. Is it possible to do this? I have not found a way in the documentation.
For example: I have a Customer Group “VIP Customer” created in Medusa Backend. I added a registered customer “[email protected]” to this group, and now I want to display on the storefront that user “[email protected]” is in the group “VIP Customer”. But I can't find an API route that would provide information about which group the user is in.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to get a customer group by user ID on the storefront. Is it possible to do this? I have not found a way in the documentation.
For example: I have a Customer Group “VIP Customer” created in Medusa Backend. I added a registered customer “[email protected]” to this group, and now I want to display on the storefront that user “[email protected]” is in the group “VIP Customer”. But I can't find an API route that would provide information about which group the user is in.
Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions