#skoshkarli - update subscription price

1 messages · Page 1 of 1 (latest)

severe jettyBOT
raw tulip
#

Hi 👋

Can you explain what specific update action you are taking?

steel cloak
#

i wanted to change the subscription item on subscription in cases where customer changes products, i was told here to instead update the subscription item's price id

#

but i am not sure

#

if the subscription items will fully get updated once i update the price id

raw tulip
#

Ah, that is because a Subscription Item is only related to a Product through a Price. Since each Price record is associated with a Product, changing the Price changes the product.

steel cloak
#

and all other details will get updated as well on the subscription item?

raw tulip
#

What "other details"?

steel cloak
#

how often the billing is etc

#

like if the user went from a monthly billing to a yearly billing product

raw tulip
#

Billing cycles are set by the Price record

#

so yes, that is what controls the billing cycle

steel cloak
#

ok good

#

thank you for the help

#

oh

#

actually nevermind

#

sorry thought i had another question

raw tulip
#

But to be clear, I would read that reference doc I linked closely. One thing to be aware of is

When changing a subscription item’s price, quantity is set to 1 unless a quantity parameter is provided.

#

skoshkarli - update subscription price