Skip to content

Commit e58ad2f

Browse files
fix uuid filter
1 parent 4f93c8b commit e58ad2f

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

content/rest-api/filter.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -258,27 +258,6 @@ To get the products with an "A" or "B" for the `mobile` channel and `en_GB` loca
258258
/api/rest/v1/products-uuid?search={"quality_score":[{"operator":"IN","value":["A","B"],"scope":"mobile","locale":"en_GB"}]}
259259
```
260260

261-
### On their uuid
262-
263-
::: availability versions=SaaS editions=CE,EE
264-
265-
To filter products on their uuid, use the `uuid` product property. This filter does not need a `scope` or `locale` value.
266-
This filter accepts 2 operators: IN and NOT IN, and the value is always an array of uuids.
267-
268-
#### Examples
269-
270-
To get the products having uuid `aaf518b2-f91e-40f1-a53a-78ce5e81a6f9` or `fc24e6c3-933c-4a93-8a81-e5c703d134d5`.
271-
272-
```
273-
/api/rest/v1/products-uuid?search={"uuid":[{"operator":"IN","value":["aaf518b2-f91e-40f1-a53a-78ce5e81a6f9", "fc24e6c3-933c-4a93-8a81-e5c703d134d5"]}]}
274-
```
275-
276-
To get all the products but the products with uuid `aaf518b2-f91e-40f1-a53a-78ce5e81a6f9` and `fc24e6c3-933c-4a93-8a81-e5c703d134d5`.
277-
278-
```
279-
/api/rest/v1/products-uuid?search={"uuid":[{"operator":"NOT IN","value":["aaf518b2-f91e-40f1-a53a-78ce5e81a6f9", "fc24e6c3-933c-4a93-8a81-e5c703d134d5"]}]}
280-
```
281-
282261
## Filter on product model properties
283262

284263
To filter product models by one of their properties, you can use the `search` query parameter. The value given to this query parameter should be a valid JSON as shown below.

0 commit comments

Comments
 (0)