feat(medusa, stock-location, types): Add q and order params to list-stock-locations (#6197)

**What**
- add `q` and `order` params to list-stock-location endpoint

closes #6189
This commit is contained in:
Philip Korsholm
2024-01-29 09:14:39 +00:00
committed by GitHub
parent 3db2f95e65
commit d1c18a3090
9 changed files with 263 additions and 33 deletions
+5 -1
View File
@@ -153,10 +153,14 @@ export type StockLocationExpandedDTO = StockLocationDTO & {
/**
* @interface
*
*
* The filters to apply on the retrieved stock locations.
*/
export type FilterableStockLocationProps = {
/**
* Search parameter for stock location names
*/
q?: string
/**
* The IDs to filter stock locations by.
*/