#nathaniel_code
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1397603397112299572
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
You'd have to change the product's default price to a different one first: https://docs.stripe.com/api/products/update#update_product-default_price
Ah ok - thank you
So it is never possible to archive a default price? Has that always been the case? Sorry I am new to Stripe and taking over an existing implementation
A product must have a default price
So you have to switch the default to another price first before you can archive it
Above is a little misleading actually
Because you can create a product without a default price
But once that default price is set, you need to switch it to another one before you can archive the current default's price
Can you remove the default price from the product so there is no price on the product then archive? Or is that what archiving is effectively
Ah so you want 0 prices on the product
So yeah you should be able to update the product and set default_price to an empty string: https://docs.stripe.com/api/products/update#update_product-default_price
Then archive the price
Perfect, thank you!