#_timothee
1 messages ยท Page 1 of 1 (latest)
Hello ๐
I believe that's expected/intentional.
Certain objects like Product do support custom IDs which should handle custom IDs seamlessly.
Why cannot we specify custom ids on Prices?
It mostly comes down to how complex price object is behind the scene ๐
As an alternative, you could use lookup_key to assign a custom string to a price instead
https://stripe.com/docs/api/prices/create#create_price-lookup_key
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.