# Geo based pricing

**URL:** <https://discuss.elastic.co/t/geo-based-pricing/379199>\
**Category:** Elasticsearch\
**Created:** [June 16, 2025, 11:33am UTC](https://discuss.elastic.co/t/geo-based-pricing/379199 "2025-06-16T11:33:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![searchwithme](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/searchwithme/32/137075_2.png) [@searchwithme](https://discuss.elastic.co/u/searchwithme)\
**Post date:** [June 16, 2025, 11:33am UTC](https://discuss.elastic.co/t/geo-based-pricing/379199/1 "2025-06-16T11:33:09Z")

</div>

Is it possible to create a geo based pricing usecase with elasticsearch for retail index? Say, I search for a jacket from SFO, it should be $50 but from Denver, it should be $45. I see geo shape feature but how do you apply it given there are several cities? Please help!

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 16, 2025, 2:32pm UTC](https://discuss.elastic.co/t/geo-based-pricing/379199/2 "2025-06-16T14:32:34Z")

</div>

What is the business rule?

I mean that you can get the "sort" value when doing geo-distance sort and then may be multiply this number with the base price of each hit?
