Location object
Attributes | Description |
---|---|
id | Unique location ID, assigned by the Voucherify API. Example: loc_NoMGXmHO9OUs7iz9mGWpamma |
object | The type of the object represented by JSON. This object stores information about a
Available values:
|
name | Location name. |
shape | Defines the shape and boundaries of the location. One of: |
created_at | Timestamp representing the date and time when the location was created. The value is shown in the ISO 8601 format. Example: 2022-02-14T15:12:06.817Z |
updated_at | Timestamp representing the date and time when the location was updated. The value is shown in the ISO 8601 format. Example: 2022-03-14T15:12:06.817Z |
Circle
Attributes | Description | ||||||
---|---|---|---|---|---|---|---|
type | The type of shape being defined is a
Available values:
| ||||||
format | The location is defined in terms of a
Available values:
| ||||||
distance | Defines the parameters for the circle. Distance
|
Polygon
Attributes | Description |
---|---|
type | The type of shape being defined is a
Available values:
|
format | The location is defined in terms of a
Available values:
|
geojson | One of: |
Geojson Polygon
Attributes | Description |
---|---|
type | Type of geojson coordinates, i.e.
Available values:
|
coordinates | See: PolygonCoordinates |
Geojson Multi Polygon
Attributes | Description |
---|---|
type | Type of geojson coordinates, i.e.
Available values:
|
coordinates | Array of PolygonCoordinates |