#boggerss_api

1 messages ¡ Page 1 of 1 (latest)

opaque joltBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1328355976566276201

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

austere hawk
#

What is the correct process for adding a subscription item to the existing subscription then getting an up to date invoice for both items
Do you have an example sub_xxx where you've tried this

sacred valley
#

sub_1QgnclLiaGXanyuMYkKlwj0P

#

Test Mode

austere hawk
sacred valley
#

Yeah so that request added a subscription item to an existing subscription

The invoice on that subscriptions is draft

austere hawk
#

You'd need to reset the billing anchor to now

sacred valley
#

Is that a subscription property

#

Sorry asking silly ones there found the property

So when I update the property do I create another invoice and pass in the subscriptionId

Or do I just reset the anchor and that will update the existing invoice?

austere hawk
austere hawk
#

You can then void the old

sacred valley
#

Thank you for your help!

austere hawk
#

No problem, glad I could help!

sacred valley
#

@austere hawk when resetting the billing cycle is this going to prorate everything based on the initial creation date?

#

I'm seeing this sort of behaviour and wondered if its preventable

austere hawk
#

Potentially, but you can pass proration_behavior: 'none' in your update call

sacred valley
#

Perfect thats sorted everything i need there have a good day @austere hawk