You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is shown as a type error, however it is a valid API call:
// returns matching product resultsconstproductResponse=awaitswell.products.list({id: {$in: productIds}// productIds is an array of IDs})
And trying to do this same thing with the "where" flag actually doesn't properly return any products.
// this doesn't work even though it seems like it should (returns no results)constproductResponse=awaitswell.products.list({where: {id: {$in: productIds}}})
The text was updated successfully, but these errors were encountered:
Hi @vettloffah I checked that the where statement works fine for products.list. But only active products are returned, you may be trying to request inactive ones.
It looks like there is no way to query inactive products via products.list.
This is shown as a type error, however it is a valid API call:
And trying to do this same thing with the "where" flag actually doesn't properly return any products.
The text was updated successfully, but these errors were encountered: