#patr0la_api

1 messages ¡ Page 1 of 1 (latest)

young lanceBOT
#

👋 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/1263848409564184636

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

open karma
#

No metadata isn't copied from subscription to subscriptoin schedule

#

It should still be on the subscription object

#

But if you want it on the subscription schedule object, you'd need to add it yourself

spark rover
#

I have to update subscription schedule right after create.

So should I create it from subscription and then update with metadata? - how would I even do this? Will price data or anything stay same? - checking this rn, but you might know how to handle this already

Or should I perhaps do this in one single request? - and will this impact my subscription processing prorations/etc?

open karma
#

Since you have to update it right after creation, just include the metadata in that update request

spark rover
#

hmm the issue was that I was thinking to use metadata to perform updates to quantities, but since no metadata is transferred, I have to somehow first match items to my business side items

#

also, discounts also are not transferred ?

open karma
#

A subscription schedule is merely an abstraction. it's an object that defines how a subscription object should behave on a schedule. The subscription will retain both its descounts and metadata

#

The subscription schedule is a separate object that can have its own metadata

#

If you just retrieve the subscription object you'll still see the metadata

spark rover
#

ok I got it

#

Thank you very much!

#

Have a nice day