Market in discount function input marked deprecated

Hi, We use the market field to make have market wise discount. We need this so that one person from the US can have 10$ off and a person from UK can have 10Pound off and match the numbers. And we also use this from blocking certain markets from using a discount.

This is marked as depreciated:
| This field will be removed in a future version of the API.

With this new change of removing the market field will make it hard for us to determine where the customer is from. Will there be something else we will be able to use?

any update on this? Becasse the market field is very useful for our app

I cheked with Shopfy Support and this is what they say regarding markets : This endpoint has been marked as deprecated because of the functionality of new markets.

With the new markets, a buyer can match several markets.

This endpoint will return the most precise region market to retain compatibility with legacy markets.

You can still use this endpoint. We are working on the shape of the data that will replace this, and will communicate as usual in the dev docs one the replacement is ready for public use.

So till we hear further we can use Markets.