{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "search_catalog",
"arguments": {
"catalog": {
"query": "yoga",
"filters": {
"price": {
"max": 2000
}
},
"pagination": {
"limit": 5
}
}
}
}
}
@Simon_J
Claude code figured out the finer details for me
that works
Seemingly price filter uses the storeās base currency (minor units). max: 2000 = Ā£20.00 for a GBP store.
When you pass context.currency, the filter appears to be ignored ā products are returned at converted prices but not filtered by converted amount.
I havenāt tested any of this - just got the products rendering again
which is what we need for current planned testing
Iāll deal with all the proper details of the update next week & hopefully some docs then
previously we weāre doing price filter post fetch