#PapaPapatine-line-item-quantity
1 messages · Page 1 of 1 (latest)
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.
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?
Yep, you would update the Subscription which will then generate the upcoming invoice.
Thanks for the help!! 🙂 I'll report back soon.