#akii-Subscription

1 messages · Page 1 of 1 (latest)

solar lintel
#

Hi, let me look at the request

#

You are sending parameters as

{
  proration_behavior: "none",
  items: {
    0: {
      price: "price_1KsKMAGLOO5b7AOMcU0Zv1sU"
    }
  }
}

but this will append a new items to your Subscription, not replacing the existing one

#
    items: [
      {
        id: subscription.items.data[0].id,
        price: 'price_new_id'
      }
    ]
dusky parrot
#

Okay thanks will do this and let u know, please meanwhile dont close the thread..

solar lintel
#

Sure