Skip to content

Commit 124722e

Browse files
committed
feat(filter): Allow for comma-separated values in NumericFilter
1 parent d4ac684 commit 124722e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/filters.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,10 @@ Given that the collection endpoint is `/offers`, you can filter offers with the
821821

822822
It will return all offers with `sold` equals `1`.
823823

824+
Search for offers with multiple numeric values with the following query: `/offers?price[]=100&price[]=200` or `/offers?price=100,200`.
825+
826+
It will return all offers with `price` equals `100` or `200`.
827+
824828
### Range Filter
825829

826830
The range filter allows you to filter by a value lower than, greater than, lower than or equal, greater than or equal and between two values.

0 commit comments

Comments
 (0)