#theglobe

1 messages · Page 1 of 1 (latest)

proper portalBOT
willow thunder
#

Hi 👋

normal mesa
#

Hello

willow thunder
#

I would create a new price associated with the same product and programmatically update the subscriptions.

normal mesa
#

how can I do that?

willow thunder
#

Using our APIs

normal mesa
#

I tested by archiving the old price and adding a new one, but it kept using the old price

willow thunder
#

The subscription is related to the Price object directly, you need to update the subscription to use the new price

normal mesa
#

I am still learning about API, how can I do that?

willow thunder
#

You write some code, preferrably using one of our client libraries, and loop over all the subscriptions you want to change prices for.

normal mesa
#

okay I will check the doc you sent me.

#

thank you

willow thunder
#

Are you familiar with our client libraries? They simplify using the APIs

normal mesa
#

No, I never used before

willow thunder
#

What is the programming language you are most familiar with

normal mesa
#

php

willow thunder