#jacob-subscription-canceled

1 messages · Page 1 of 1 (latest)

daring lily
#

Do you have an example subscription id?

unkempt crescent
#

Sure, one sec

#

Getting the sub id now

#

Or, is that the price id?

#

price_1K7PWOKp4jSDqDT8lTikE6QU

daring lily
#

that's the price id but it's fine, let me have a look

unkempt crescent
#

si_Kn9jqcnFVV2UMo

#

that's the sub item, not sure if that's it

daring lily
#

lol that's a Subscription Item :p

#

but it's fine I got it but a subscription is is sub_123

unkempt crescent
#

sub_1K7ZPqKp4jSDqDT87SAuvbt2

daring lily
unkempt crescent
#

didn't realize more was needed, will try that. thank you for your time

daring lily
#

yeah the wording in the doc is weird. My understanding is that before the API version https://stripe.com/docs/upgrades#2016-07-06 you could never list canceled subs, and after that version you don't get them by default but you can filter via status: 'canceled' or status: 'all

#

let me know if that doesn't work

unkempt crescent
#

seems to work fine, just made some changes to my code

#

i was actually using stripe get subscriptions with the CLI too, which seems different than what's in the docs

#

have a nice weekend!