{"_id":"582b467e4c28ec2700ae86e2","user":"56caca84245b841300806def","version":{"_id":"56cacb1cc675f50b00a4b61c","project":"56cacb1bc675f50b00a4b619","__v":14,"createdAt":"2016-02-22T08:47:24.528Z","releaseDate":"2016-02-22T08:47:24.528Z","categories":["56cacb1dc675f50b00a4b61d","56cc10aaca43550b0028125a","56cc10b7b4cbcf0b004a5df9","56cc1bb2272aa4130002ccd2","56cc5834b4cbcf0b004a5f8b","56cda18bface161300dae13b","56d51f2873dcd20b00fb87bb","56fbe0610023171700b96105","57658310c176520e00ea9076","5772bdd48c48e00e00503638","577c1dfe87acf617003c3fcd","579525172979790e00771a15","582b4661cdfdc125000c8684","586365cedfe6cc3700a7be63"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1"},"__v":1,"project":"56cacb1bc675f50b00a4b619","parentDoc":null,"category":{"_id":"582b4661cdfdc125000c8684","version":"56cacb1cc675f50b00a4b61c","__v":0,"project":"56cacb1bc675f50b00a4b619","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-11-15T17:31:13.213Z","from_sync":false,"order":5,"slug":"rewardsmojo-rest-api","title":"Rewards REST API"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-11-15T17:31:42.242Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"","language":"java"}]},"method":"get","results":{"codes":[{"name":"","code":"{\n\t\"code\": 200,\n  \"message\": \"Rewards available for this locale\"\n}","language":"json","status":200},{"name":"","code":"{\n\t\"code\": 404,\n  \"message\": \"Not available for this locale\"\n}","language":"json","status":404}]},"settings":"","auth":"required","params":[{"_id":"56cc52f08fa8b01b00b81e90","ref":"","in":"query","required":false,"desc":"Latitude for the place","default":"","type":"double","name":"lat"},{"_id":"56cc52f08fa8b01b00b81e8f","ref":"","in":"query","required":false,"desc":"Longitude for the place","default":"","type":"double","name":"lon"},{"_id":"56cc52f08fa8b01b00b81e8d","ref":"","in":"query","required":false,"desc":"Country short code - Example IN, USA, GB","default":"","type":"string","name":"locale"}],"url":"/v:version/services/rewards/region/availability"},"isReference":true,"order":0,"body":"You can pass either **Latitude & Longitude** or a **Country code**","excerpt":"Check if RewardsMojo is serving rewards in a particular region","slug":"check-region-availability","type":"endpoint","title":"Check Region Availability"}

getCheck Region Availability

Check if RewardsMojo is serving rewards in a particular region

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

lat:
double
Latitude for the place
lon:
double
Longitude for the place
locale:
string
Country short code - Example IN, USA, GB

Result Format


Documentation

You can pass either **Latitude & Longitude** or a **Country code**

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}