#mr_pablo-prices
1 messages ยท Page 1 of 1 (latest)
You need to have a retrieved object first
for example
Price a = Priece.retrieve({priceId})
a.delete
there is no "delete" operation for prices in the JS SDK...
Or in the API docs...
@quiet moss ?
yes unfortunately there is no delete operation possible via the API
you might want to fix this message then, "Deleting a product is only possible if it has no prices associated with it. "
mmm
you could only delete the price via the dashboard
@marble ether read what Tarzan just said ๐
Ohhh, sorry!!
the Rest API Delete /v1/prices/{price_id} doesn't exist
to be honest no, but I could follow-up on this after my shift ends
you could delete it from the dashboard
There is a reason I'm asking about the API ๐
you could always ask for a developer user from your customer/hierarchy
What do you mean sorry?
sorry my bad, I should have been more explicit, we have several roles of users in the dashboard with different levels of access
you could ask for a user on the dashboard with the role of "developer"
are your prices recurring? or one-time?
how does a different role enable me to delete a price when there is no delete endpoint?
Prices might be both types
@devout palm
how does a different role enable me to delete a price when there is no delete endpoint?
I meant on the dashboard not on the API
Again, there is a reason I'm asking specifically about the API ๐
IE I am using the API, and not the dashboard
Delete endpoint should be added
But I am using API so it would be helpful if API endpoint is there
I'm really going to follow-up on this today with the internal team
When can you tell like if the Price Delete API Endpoint is going to be implemented or not
I would suggest you write to support https://support.stripe.com/?contact=true so I could get back to you with a more detailed answer later on
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
have you written to support yet? you could mention my discord handle tarzan so I could locate your request
I have not. I might get around to it, but I'm quite busy currently