#Diveafall-update-subscription
1 messages ยท Page 1 of 1 (latest)
Hey there ๐ that can be a bit tricky, do you have examples of what you've tried so far?
Hey, thanks for responding!
Here's the example in the docs:
stripe.Subscription.modify(
"sub_K4bjafRVFmRIXG",
metadata={"order_id": "6735"},
)
I have no idea what order_id represents though
Ah, so that's a misleading example. That metadata parameter is used for storing non-stripe related information. So in this case order_id would likely map to something in another system.
Agreed, that's what metadata is for ๐
Unfortunately, there's nowhere in the docs written the data you can sent with the request.
Have you taken a look at this?
https://stripe.com/docs/billing/subscriptions/upgrade-downgrade
Ok, this is much-much better ๐
Completely agree!
Appreciate the help! I'll playing with this for a bit
Any time! Let us know if that doesn't work out for you.