Get Locations By User
Retrieve national and local geographic locations that a specified user has eligible in-store offers at. Use this endpoint to build out your map-specific UX experiences.<br/> <br/> <b>Required scopes:</b> rewards:read
Request
- Base URL: https://rewards-api.getkard.com
- URL: https://rewards-api.getkard.com/v2/issuers/{organizationId}/users/{userId}/locations
- Auth: HTTP bearer
Path parameters
Your issuer organization ID, provided by Kard
The ID of the user as defined on the issuers system
Query parameters
Case-insensitive substring match on the location's city. Never defines the search area; applied as an additional constraint alongside a radius search when filter[latitude]/filter[longitude]/filter[radius] are also provided.
Exact-match filter on the location's zip code. Never defines the search area; applied as an additional constraint alongside a radius search when filter[latitude]/filter[longitude]/filter[radius] are also provided.
Exact-match filter on the location's state. Never defines the search area; applied as an additional constraint alongside a radius search when filter[latitude]/filter[longitude]/filter[radius] are also provided.
Category of merchant. Please use URL Encode for non single word categories. (Food & Beverage should be Food%20%26%20Beverage)
Longitude of the point to search around. Must be provided together with filter[latitude]; combine with filter[radius] to run a radius search.
Latitude of the point to search around. Must be provided together with filter[longitude]; combine with filter[radius] to run a radius search.
Radius in miles to search around the point given by filter[latitude]/filter[longitude] (default 10, minimum 1). Has no effect unless both latitude and longitude are also provided — it is ignored when only filter[zipCode], filter[city], or filter[state] is used, without lat/long.
If provided, response will be sorted by the specified fields. Defaults to newest first, equivalent to descending createdDate; when filter[latitude]/filter[longitude] are provided, locations are ordered by ascending distance from that point first, then newest first.
CSV list of included resources in the response (e.g "offers,categories"). Allowed values are offers and categories.
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.