#skoshkarli-prices-help

1 messages · Page 1 of 1 (latest)

half heath
#

Hello @mental moat ! What is the issue?

mental moat
#

actually i think maybe i just figured it out. i am doing stripe prices search --query 'product:"999_7days_monthly"' --stripe-version 2020-08-27 but really i am trying to query using the product name, not id

#

is there a way to search using product name?

half heath
#

we do support name

mental moat
#

i actually have a list

#

which is why i am querying using search

#

name only supports one from what i understand

half heath
#

correct

#

you could use an OR though

#

to combine multiple names

mental moat
#

using search?

#

oh thats what you are saying, use name field in search

#

i got it

#

let me try that

#

oh but this name is for the product, not price

half heath
#

correct there's no price name

mental moat
#

so i am trying to query prices which are tied to a product by product name

#

it sounds like the only way i can do that is to first query products api then use the id's from those to query prices api, is that correct?

half heath
#

correct

mental moat
#

is it also possible to combine products and currency with multiple or statements between products in a search query somehow?

#

say i wanted to get only USD currency for product 1 or product 2