Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not receiving categories of a product using Medusajs Client #7137

Open
VENGENCE7 opened this issue Apr 24, 2024 · 0 comments
Open

Not receiving categories of a product using Medusajs Client #7137

VENGENCE7 opened this issue Apr 24, 2024 · 0 comments

Comments

@VENGENCE7
Copy link

VENGENCE7 commented Apr 24, 2024

Bug report

Not receiving Categories on get product by id using Medusa JS client

i have enabled the categories using the .env,
on geting the single product i want the categories to be listed but i am not receiving them in response.

If i add in the expand parameter in the
{{backend_url}}/store/products/prod_01HVGCHNBZETGZ3NKJNEGX9TZD?expand=categories

it works here but when i am using the meduajsclient i am not receiving the categories in the response
have attached a SS for the code thats implemented.

Expected behavior

Need the categorires in the response

Screenshots

image

@VENGENCE7 VENGENCE7 changed the title Not receiving categories of a product using Medusajs Client while get product by id Not receiving categories of a product using Medusajs Client Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant