#jasperste_api

1 messages ยท Page 1 of 1 (latest)

opaque jewelBOT
#

๐Ÿ‘‹ 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/1341792781122666577

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

lofty canopy
#

With Choose the eligible products that customers can update. we can select the products that are allowed to change to . We have 2 products with both a yearly and a monthly. We would like to allow changing within that, but not change between products

shut sedge
#

AFAIK this is supported

#

Have you tried it?

lofty canopy
#

Yes, I have tried every combination. But most combinations cause it to allow to switch products

#

Maybe I am overlooking something or a setting

shut sedge
#

Can you share the portal configuration id?

lofty canopy
#

We are using the portal of the dashboard now, what's the best way to find that id?

#

For example. This will allow to switch from any product to these products. While we only want to allow changing quantities and the interval (year/month)

shut sedge
#

Yeah idk about the dashboard

lofty canopy
#

Do you happen to have an example of that dictonary?

shut sedge
#

Sorry juggling several threads right now

#

Don't have time to test this out

#

Which part isn't clear though?

lofty canopy
#

is there an example anywhere that uses that feature (language doesn't matter)

features.subscription_update.products
#

is it something like

products: [ "$productId" : { prices : .. } ] ?

#

i'll try out a bit, you can close the thread to focus on the rest ๐Ÿ‘

#

thanks!

shut sedge
#

I'll leave open for a bit in case I get a sec to try it

#

Products is an array of dictionaries though

#

so [{}]

lofty canopy
#

Yeah, sorry. meant that indeed.