#Diveafall-update-subscription

1 messages ยท Page 1 of 1 (latest)

sharp hollow
#

Hey there ๐Ÿ‘‹ that can be a bit tricky, do you have examples of what you've tried so far?

royal oracle
#

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

sharp hollow
#

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.

royal oracle
#

Agreed, that's what metadata is for ๐Ÿ˜ƒ

#

Unfortunately, there's nowhere in the docs written the data you can sent with the request.

sharp hollow
royal oracle
#

Ok, this is much-much better ๐Ÿ˜„

sharp hollow
#

Completely agree!

royal oracle
#

Appreciate the help! I'll playing with this for a bit

sharp hollow
#

Any time! Let us know if that doesn't work out for you.