#Harun-CLI
1 messages · Page 1 of 1 (latest)
Hey
So here is the fixture for that trigger: https://github.com/stripe/stripe-cli/blob/ab89d58bad6a661beb091c89bd16ce6ae01ebf8d/pkg/fixtures/triggers/customer.subscription.deleted.json
What the CLI does is it basically just makes a series of API requests to generate the Event you are looking for
You can override parameters in the fixtures
But you can't override the path
So you can't dictate a specific Sub ID here
A new one is created each time
Okay, maybe you could give me a hint on my usecase so i could build it the intended way:
I want to change the customers subscription level once the "customer.subscription.deleted" trigger is fired. So i try to identify the user-> My user is linked to a subscription. Is there a intended way to identify the user by this event?
Your user should be associated with the Customer object
Alright then. I Think that's it for now. Thank's a lot and have a great day 🙂