I refered to following doc, but i am unable to filter data after populate,
API: /api/categories?populate[merchant][filters][slug][$eq]=SPECIFIC
Expected Response: I want only category with id: 1, becuase id: 2’s merchant is not same as SPECIFIC
Current Response:
{
"data": [
{
"id": 1,
"attributes": {
// ... some data
"categorySlug": "paintings",
"merchant": {
"data": {
"id": 1,
"attributes": {
"slug": "truedesignshop",
}
}
}
}
},
{
"id": 2,
"attributes": {
// some data...
"merchant": {
"data": null
}
}
}
],
"meta": {
"pagination": {
"page": 1,
"pageSize": 25,
"pageCount": 1,
"total": 2
}
}
}
This topic has been created from a Discord post (1281679067870920891) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord