Cross-type plan search
Plans
Cross-type plan search
Searches all 6 plan types (restock, rebalance, markdown, supplier-return, supplier-exchange, pre-season) in a single request. Matches the query string against plan name and code (case-insensitive substring). Useful for MCP agents that know a plan name but not its type.
GET
Cross-type plan search
Authorizations
User session token issued by NextAuth. For human users accessing Solya via the web application.
Query Parameters
Page number, 1-indexed (default: 1)
Required range:
1 <= x <= 9007199254740991Number of items per page, max 100 (default: 20)
Required range:
1 <= x <= 100Case-insensitive substring searched against plan name and plan code (min 1 character)
Minimum string length:
1Restrict results to plans with this exact status value (e.g. DRAFT, VALIDATED, CLOSED)

