#yoshie902a - deleting prods and prices

1 messages · Page 1 of 1 (latest)

inland jolt
#

If you were to delete a price that still had active subscriptions attached, the active subs would continue as normal but you wouldn't be able to create new subscriptions with those deleted prices

sudden plank
#

My question is more of if it would cause issues if they were deleted?

#

Second, is there a way to query all plans that are/were not used in a subscription? to purge unused or unwanted products/plans

inland jolt
#

Yeah tried to answer that. Would only cause issues if you tried to create new subs with those deleted prices.

#

You can also see on the dashboard how many active subs are on a plan

sudden plank
#

how about from a audit perspective?

inland jolt
#

Like in reports?

sudden plank
#

I would want to search plans not used in subscriptions.

inland jolt
#

Yeah so you can use that api call i just shared

#

Just filter by "active" and pass in the applicable price ID where you want to check if there are any subs with that price

sudden plank
#

but then I have to do that for each price. I was hoping to be able to do one call to get all plans without subscriptions.

inland jolt
#

There's not a way to do it in one call unfortunately

#

You could write a script to iterate through your prices and make that call for each one

sudden plank
#

ya, was hoping to not have to do that and make 1000 calls