Files
medusa-store/.changeset
Nicolas Gorga 9cad05c8df chore(medusa): add missing fields and filters to product variants endpoint (#14448)
## Summary

**What** — What changes are introduced in this PR?

Add missing filters like `ean, upc, barcode` and fields like `thumbnail` to product variants endpoints.

**Why** — Why are these changes relevant or necessary?  

We had a disconnection between the allowed filters and fields for variants in the products endpoint and in the product variants endpoint.

**How** — How have these changes been implemented?

Avoid this issue in the future by removing redundant definitions for fields and filters for variants in the products and variants endpoints, consolidating them in the variants endpoint and implementing imports in the products endpoint. Add missing fields/filters to product variants endpoint.

**Testing** — How have these changes been tested, or how can the reviewer test the feature?

*Please provide answer here*

---

## Examples

Provide examples or code snippets that demonstrate how this feature works, or how it can be used in practice.  
This helps with documentation and ensures maintainers can quickly understand and verify the change.

```ts
// Example usage
```

---

## Checklist

Please ensure the following before requesting a review:

- [x] I have added a **changeset** for this PR
    - Every non-breaking change should be marked as a **patch**
    - To add a changeset, run `yarn changeset` and follow the prompts
- [ ] The changes are covered by relevant **tests**
- [x] I have verified the code works as intended locally
- [x] I have linked the related issue(s) if applicable

---

## Additional Context

Add any additional context, related issues, or references that might help the reviewer understand this PR.

fixes SUP-2872
2026-01-06 09:46:38 +00:00
..

Changesets

Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it in our repository

We have a quick list of common questions to get you started engaging with this project in our documentation