#emulator000
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
the price ID should be unique in your account (test and live mode)
yes it is, but I'm talking about the lookup key, the metadata that basically we use for matching our price without having to save it, the lookup key is assigned when you create a new price in the dashboard and in test mode I'm able to alter with this command:
stripe prices update price_xXXXXXXXXXXXXX --lookup-key "aaaaaaa"
that is not possible in production with the CLI but what about the APIs?
oh yes I see now
actually you can using the API https://stripe.com/docs/api/prices/update#update_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.
I'm just trying it now ahah I'll let you know
it would be VERY nice if this metadata could be edited through the dashboard though
as is a very common operation
I'm not sure whether this is available or not, since we don't really know much about dashboard features here
it seems that through APIs it works by the way, thank you!
I just submitted a feedback about the dashboard feature