#manuel_api

1 messages ยท Page 1 of 1 (latest)

spark turretBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1278452302583300209

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

raven otter
#

idk if the .list() function has more filters/parameters

#

I only need the active ones not included not archived products :/

glacial ledge
#

Hello

#

You are looking for Prices or Plans?

raven otter
#

plans

glacial ledge
#

Are you not seeing that be the case?

raven otter
#

the thing is that im saving all those plans in my database and i can see the archived plans too. I have already emptied my table and when i retrieve all the plans i can still see them in my table

#

should i use the Price.list()?

spark turretBOT
proven venture
#

Hi there ๐Ÿ‘‹ taking over, as my colleague needs to step away

You should use either the Price LIst API or the Plan List API depending which one you're using

raven otter
#

is there any difference? im seeing the object that return the response and its a little bit different but i dont have any problem just change my code

proven venture
#

They're entirely different objects, so you'll need to inspect your Subscriptions to see which one is being used. Prices replaced Plans a while back, so that's why they look functionally and visually similar

raven otter
#

ok, i understand. So how can i get all the active products? Using the "active" parameter too or i need something else?

proven venture