#PapaPapatine-line-item-quantity

1 messages · Page 1 of 1 (latest)

broken moss
#

Hi there! Sure you can use invoice.upcoming to then perform an update on the Subscription.

#

As long as the invoice hasn't been generated yet then the update will affect the next invoice.

placid olive
#

Thanks for responding! I'm currently attempting to call line_item.update with the li_tmp id that's returned in the webhook event but I receive an error that the line item can't be found.

There also isn't an id for the upcoming invoice in the webhook event.

Is the correct way to update the subscription?

broken moss
#

Yep, you would update the Subscription which will then generate the upcoming invoice.

placid olive
#

Thanks for the help!! 🙂 I'll report back soon.