v1

latestOpenAPI 3.0.1MIT2026-07-263151,3912.3 MB
Locations

Get Location

Returns a location object.

get/v1/locations/{locationId}

Path parameters

locationIdstring required
Example:loc_NoMGXmHO9OUs7iz9mGWpamma

The unique location ID.

Response

Returns a location object.

idstring required

Unique location ID, assigned by the Voucherify API.

object'location' required

The type of the object represented by JSON. This object stores information about a location.

namestring required

Location name.

created_atstring date-time required

Timestamp representing the date and time when the location was created. The value is shown in the ISO 8601 format.

updated_atstring date-time nullable required

Timestamp representing the date and time when the location was updated. The value is shown in the ISO 8601 format.

Example response

{
  "id": "loc_NoMGXmHO9OUs7iz9mGWpamma",
  "shape": {
    "distance": {
      "center": "geo:40.79372699823857,-74.15092132694554"
    }
  },
  "created_at": "2022-02-14T15:12:06.817Z",
  "updated_at": "2022-03-14T15:12:06.817Z"
}