Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions core/filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ class Offer
}
```

Given that the collection endpoint is `/offers`, you can filter offers by boolean with the following query: `/offers?isAvailableGenericallyInMyCountry=true`.
Given that the collection endpoint is `/offers`, you can filter offers with the following query: `/offers?isAvailableGenericallyInMyCountry=true`.

It will return all offers where `isAvailableGenericallyInMyCountry` equals `true`.

Expand Down Expand Up @@ -324,7 +324,7 @@ class Offer
}
```

Given that the collection endpoint is `/offers`, you can filter offers by boolean with the following query: `/offers?sold=1`.
Given that the collection endpoint is `/offers`, you can filter offers with the following query: `/offers?sold=1`.

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

Expand Down