I would like to know whether it is possible to filter through the JSON API by the filling of additional fields and / or modification parameters? (as it can be done on the site - screenshot below)
1 answer
In accordance with the documentation on additional fields, it is impossible to filter, but you can filter by modification parameters. When requesting modifications, they display the product field, which contains the product metadata. Accordingly, if you need to get the goods, you can request a list of modifications with a filter for the desired parameter, and from the resulting list of modifications pull out the product. Request example:
https://online.moysklad.ru/api/remap/1.2/entity/variant?filter=name=test&expand=product
|