Filter products by number attribute #67
-
Hi there, I want to do something like this: await swell.products.list({ but instead of the price I want to filter some attribute like the hight from one value to another one. Is this possible? I have tried it as it was used with the price, however this seems not to work. Best |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
The frontend API doesn't support this yet. We'll add it to the backlog. |
Beta Was this translation helpful? Give feedback.
-
@JanikHalder I can suggest you a workaround for this till then. Let me know if this helps you. await swell.products.list({
page,
limit,
sort,
where: {
age: { // teenager
$gte: 13,
$lte: 19
}
}
}) |
Beta Was this translation helpful? Give feedback.
The frontend API doesn't support this yet. We'll add it to the backlog.