**What** - Fixes `GET /products` in both admin and store API so they no longer accept the param `type?: string`, but instead accept `type_id?: string[]` **Why** - Filtering by type would never return any products as `ptyp_:id` !== `ProductType`. **Testing** - Added an integration test for each endpoint. Closes CORE-695
124 B
124 B
@medusajs/medusa
| @medusajs/medusa |
|---|
| patch |
Changes type to type_id for the list products endpoints in both the Store and Admin API.