#horlaarsco_api

1 messages ¡ Page 1 of 1 (latest)

halcyon agateBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1253638584515170324

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

solid vector
#

hi! presumably you'd have to do two calls, one with subscription_resume_at:"now", and then do the second call the updates the items. Or the other way around.

thorny bay
#

I would call the retrieveUpcomingInvoice with subscription_resume_at:"now" and then call it again with the new subscription items correct?

solid vector
#

I think so?

thorny bay
#

Let me try that now

#

I get the same error on the second request

#

It seems like the first request doesnt really save anything

The subscription is paused and will not generate invoices until it has been resumed. Pass the subscription_resume_at parameter to view the invoice that will be generated if the subscription is resumed.

solid vector
#

It seems like the first request doesnt really save anything
yes, it's a GET request, it doesn't chage the subscription object at all

#

if you want to unpause the subscription you'd call the Update Subscription POST endpoint