Store API Order Filtering Limitations - Design Intent Question #13285
leosin
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Medusa team! 👋
First, I want to express my appreciation for the excellent work you've done with Medusa. The framework's flexibility, modern architecture, and developer experience are truly impressive. It's clear that a lot of thought has gone into building a robust foundation for e-commerce development.
However, as a developer working with Medusa, I sometimes find it challenging to understand the intended design philosophy, particularly regarding the Store API. I'd love to get some clarity on whether certain limitations are by design or if they're areas planned for future enhancement.
Specific Example: Order Filtering in Store API
Currently, the
/store/ordersendpoint only supports filtering by basic order status:However, in real-world e-commerce scenarios, customers typically need to filter orders by:
For example, customers commonly want to see "orders that have been shipped" or "orders awaiting payment" - these are fundamental user experiences in any e-commerce platform.
The Core Question
This brings me to my main question: Is this limitation intentional?
Option A: Are these features planned for future releases of the Store API?
Option B: Is the Store API intended to provide only basic functionality, with the expectation that developers will create custom endpoints for more specific business logic?
Why This Matters
Understanding the design intent would help developers like myself make better architectural decisions:
Both approaches are valid, but knowing the intended direction would save development time and align better with Medusa's vision.
Request for Clarity
Could the team provide some guidance on:
The intended scope of Store API - Is it meant to be production-ready for most use cases, or a foundation for custom development?
Roadmap for Store API enhancements - Are there plans to add more filtering capabilities?
Best practices recommendation - Should developers typically extend Store API or build custom endpoints for business-specific needs?
Thanks for taking the time to clarify this! Understanding the framework's philosophy will help the community build better applications and contribute more effectively.
Looking forward to your insights! 🚀
Beta Was this translation helpful? Give feedback.
All reactions