#Naveed | Web3Auth

1 messages · Page 1 of 1 (latest)

sleek drumBOT
west vigil
#

Hi there, you just need to pass the new price and quantity to the items param,

exotic wasp
#

ok and for the price item that im going to be replacing i need to specify its id?

#

is there a way to just have the behaviour of replacing all the items with the new ones that i specify?

west vigil
#

No, you need to specify the subscription item ID if you want to replace it.

exotic wasp
#

does it matter which one is replaced by which?

#

e.g. imagine we have 2 prices on a sub, 1st one is flat monthly fee, one is metered monthly

#

what if on update i replae the flat with a different metered, and a metered wth a different flat?

#

and another question is whats the advantage of update sub vs delete then recreate sub

west vigil
#
  1. They will be replaced accordingly based on your request
  2. It's entirely up to you
exotic wasp
#

does 1 affect any sort of proration behaviour

#

for 2 are the really no differences?