-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
API Ref(store): Issue in Get Product Variants #5045
Comments
Thank you for submitting this issue! After taking a look at the List Product Variants endpoint I can see that this is not a documentation error, so this could be a bug cc @olivermrbl |
I'll have a look at this. Thanks for filing the issue. Are you intentionally using the list endpoint to fetch variants by id? If you are only querying for a single variant, I suggest you use the get endpoint instead:
|
We need to list all variants and paginate them, this was just for test |
Is it possible to tag, build and push this to https://www.npmjs.com/package/@medusajs/medusa-js?activeTab=versions? |
@Djarma not sure what you mean. The fix will be part of the next release, which will be cut later today :) |
Preliminary Checks
Issue Summary
Get product variants store api endpoint documentation says that fields can be used as query parameter to filter fields included in returned product variants
but it throws an error
How can this issue be resolved?
No response
Are you interested in working on this issue?
The text was updated successfully, but these errors were encountered: