#cf-retrieve-prices
1 messages ยท Page 1 of 1 (latest)
Hello ๐
The testmode behavior is expected but I'm not sure about livemode. AFAIK you should be able to list all the prices as the active parameter doesn't default to any specific values
And because I'm an idiot I meant products and not prices ๐คฆโโ๏ธ Sorry about that.
But yeah, I would assume the active parameter wouldn't default to anything.
do you have a request ID by any chance for your livemode request? I can take a quick look
So I just ran a quick test on my end and it does list archived products in livemode.
I'll get the request id. Just gotta dig a bit.
not a problem ๐
Sorry for the delay. Here you go: req_grmLladPBtALzh
can you also share the screenshot of the result?
Or you can also just paste the result object here
Also, the request that you've shared seems to be retrieving a specific product.
Are you saying you're seeing archived prices on a product in testmode and not in livemode?
We should just be retrieving a list of products and not individual ones. I'll just check internally real quick.
Wrong ID ๐คฆโโ๏ธ
Here you go: req_uecDdIa6Si9ert
So I have a bit more context now. We see the archived products referenced in other objects, but when we go the archived products overview in the UI, nothing shows up. So somethings up not necessarily with the API call, but more on the Stripe backend.
Interesting.
We see the archived products referenced in other objects
What objects specifically?
when we go the archived products overview in the UI, nothing shows up. So somethings up not necessarily with the API call, but more on the Stripe backend.
Can you confirm if you have any archived products in livemode because I don't see any? I see many in testmode.
Can you double check that livemode/testmode things are not getting mixed anywhere?
What objects specifically? its subscription_items.price.product
Hello, how are you related to the originator of this thread?
Hi, were colleagues, both investigating this case.
Okay so to start with, you have no archived products in Livemode. Since the request was made with a live key, we would expect it to return no results for archived products.
Just to clarify, archived means products with active=false property?