#tvanantwerp

1 messages · Page 1 of 1 (latest)

remote widgetBOT
celest mason
#

Hi there. One moment

#

Unfortunately there's not a good way to get quote from a subscription object though. You can list quotes by customer with this endpoint: https://stripe.com/docs/api/quotes/list and then in your code you can find the one that has the subscription id you're looking for: https://stripe.com/docs/api/quotes/object#quote_object-subscription

fast garden
#

Thanks for letting me know. I'm surprised the quote field is absent on subscription objects in the API given that I can see the link from subscription to quote in the dashboard.

celest mason
#

Yeah I can't say for sure why quote isn't a part of the subscription object