#Eranga - Prices

1 messages · Page 1 of 1 (latest)

weary field
#

Hello! That's correct; the purpose of the lookup_key is that it's a unique value across all your Prices so you can look up the Price by that ID. If more than one Price had the same ID you could no longer look up that Price by that ID.

#

Can you tell me more about your use case and what you're trying to do? I may be able to recommend an alternative approach.

fierce sphinx
#

I wanted to filter out a price which is using a specific currency and a specific recurring interaval

#

In my use case, I have multiple products

#

And each product has multiple prices like SGD monthly, USD yearly, SGD yearly etc.

#

I wanted to programmatically query the set of prices for a specific product based on currency and recurrent interval

weary field
fierce sphinx
#

I see... thanks 😊