#tomfree-delete-test-data

1 messages ยท Page 1 of 1 (latest)

foggy gorgeBOT
forest rapids
#

Hi ๐Ÿ‘‹ no, there is not currently pre-built functionality for cascading delete requests to other associated objects. Are there particular types of objects that you'd also like to delete/archive when deleting a Customer?

It's also worth noting that making a request to delete a Customer object causes it to not be returned in list requests, but it can still be retrieved by its ID:
https://stripe.com/docs/api/customers/delete#:~:text=Unlike other objects%2C deleted customers can still be retrieved through the API%2C in order to be able to track the history of customers while still removing their credit card details and preventing any further operations to be performed (such as adding a new subscription).

jaunty turret
#

wanna delete subscriptions. subscriptionbscheduels, paymentmethods, invoices, setupintents, mandates... those kind of things

forest rapids
#

Those type of objects cannot be deleted.

jaunty turret
#

so only way is to delete all test data ?

#

to get rid off them after a test run?

#

only talking about test data here...

forest rapids
#

I believe so

#

tomfree-delete-test-data