Get Eligible Locations
Retrieve national and local geographic locations data that a specified user has eligible in-store offers at. To include local merchant locations, include the includeLocal query parameter. Call this endpoint to build out your targeted offers and map-specific UX experiences. Please note that Longitude and Latitude fields are prioritized over State, City and Zipcode. When none of the locationNameSort, citySort and stateSort query parameters are provided, locations are returned newest first (descending createdDate); if latitude and longitude are provided, locations are ordered by ascending distance from that point first, then newest first.<br/> <b>Required scopes:</b> rewards:read
Request
- Base URL: https://rewards-api.getkard.com
- URL: https://rewards-api.getkard.com/rewards/merchant/locations/user/{referringPartnerUserId}
- Auth: HTTP bearer
Path parameters
Referring partner user ID from issuer that specifies user
Query parameters
Page number [>= 0], (default = 0)
Maximum number of locations to be returned [1 - 200], (default = 200)
Sort location names (1 for A-Z, -1 for Z-A)
Sort city names (1 for A-Z, -1 for Z-A)
Sort state names (1 for A-Z, -1 for Z-A)
Name of location
City of location; <b>REQUIRES</b> state query parameter
Zip Code of location; <b>CANNOT</b> provide State, City, Longitude, Latitude, or Radius query params when using zipCode
State of location; <b>REQUIRES</b> city field
GoogleId from location
Source of the merchant associated to the location
Category of merchant. Please use URL Encode for non single word categories. (Food & Beverage should be Food%20%26%20Beverage)
Category of merchant associated with location. Please use URL Encode for non single word categories. (Food & Beverage should be Food%20%26%20Beverage)
Longitude to search locations from [-180 - 180], <b>REQUIRES</b> latitude field
Latitude to search locations from [-90 - 90], <b>REQUIRES</b> longitude field
Radius to search for locations in miles [1 - 50], (default = 10). <b>REQUIRES</b> longitude & latitude fields
When included, the response will include local merchant locations alongside national merchant locations. If omitted, the response will only contain national merchant locations.
Time in string format for location createdDate search start (UTC)
Time in string format for location createdDate search end (UTC)
Available UI component types for offers
UI component types to include in included offers.
Response
Response with status 200
Changes
No recorded changes to this operation across all 1 revision of this API.