#trina_api

1 messages ยท Page 1 of 1 (latest)

quick coveBOT
#

๐Ÿ‘‹ 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/1416041970274402304

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

wispy tree
#

๐Ÿ‘‹ happy to help

worldly glen
#

Thanks! happy to provide more context if needed

wispy tree
#

I'm just looking at the subscription and the invoices and trying to collect some information

#

will be with you shortly

#

are you only controlling the subscription/subscription schedules from the dashboard?

worldly glen
#

We tried with dashboard first, but I wanted to extend it to api also to schedule based on webhook events

#

However without confirming here that we can do mid-cycle updates to subscriptions with metered products without triggering invoice creation I didn't feel it was safe to do so

wispy tree
#

you can use proration_behavior: 'create_prorations' which creates the prorations invoice items but only add them on the next invoice (for the next billing_cycle_anchor) and if you don't want the billing_cycle_anchor to change then you need to pass in 'unchanged' as its value in the updates

worldly glen
#

when you say prorations invoice items, which are you referring to?

#

ah sorry i meant mid cycle schedule phase change

#

not update

trim frigate
#

hey just stepping in for tarzan who needs to step away