#tiam-price

1 messages · Page 1 of 1 (latest)

keen ether
#

@west star generally setting your own ID that way is something we consider legacy, you would only have the option in the dashboard if you used that functionality in the past.

I think if you have access then you can just pass id when creating the object in the API and it works, but it won't be documented as it's something we try to deprecate

west star
#

Understood ; the SDK doesn't allow me to give an ID but since it's deprecated I won't force.
Taking a look at "lookup_key".
Thank you !

keen ether
#

you can do it through our SDKs if you need to(depends which language you're using) so let me know if you're blocked

west star
#

One more question:
if I let Stripe set the Price ID and I want to create a Subscription using the previous price, I'll have to fire a query to fetch the price using the lookup_key so I can get its ID and use the ID to create the Subscription ? I can't use lookup_key directly in the Subscription.items , right ?