Get Location by ID
Retrieve location data for a specific Kard location ID.
Required scopes: rewards:read
Path parameters
id
The Kard location ID to query
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Response
This endpoint returns an object.
_id
Location ID in Kard’s system
merchantId
Merchant ID in Kard’s system associated to location
name
Name of the location
locationType
Type of offer associated to location, will always be in INSTORE
Allowed values:INSTORE
address
Address of location
geoLocation
Geo-coordinates of location
phone
Phone number for location
createdDate
Created date of location in Kard’s system (UTC)
lastModified
Last modified date of location in Kard’s system (UTC)
source
Source of the merchant associated to the location
Allowed values:NATIONAL LOCAL
category
Category of merchant associated with location
operationHours
Hours of operation for location
googleId
GoogleId of location
Errors
400
Invalid Request
401
Unauthorized Error
404
Does Not Exist Error
500
Internal Server Error