VTEX · Schema

GeoCoordinates

Structure with the address geocoordinates. Optional for `delivery` orders, required for `pickup-in-point` orders.

CommerceE-CommerceRetailMarketplacePayments

Properties

Name Type Description
latitude string Double value with the latitude coordinates of the address. Required only if the geoCoordinates field is defined. Example format: `-25.4158764`.
longitude string Double value with the longitude coordinates of the address. Required only if the geoCoordinates field is defined. Example format: `-49.342759`.
View JSON Schema on GitHub

JSON Schema

vtex-geocoordinates-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GeoCoordinates",
  "title": "GeoCoordinates",
  "description": "Structure with the address geocoordinates. Optional for `delivery` orders, required for `pickup-in-point` orders.",
  "required": [
    "latitude",
    "longitude"
  ],
  "type": "object",
  "properties": {
    "latitude": {
      "type": "string",
      "title": "latitude",
      "description": "Double value with the latitude coordinates of the address. Required only if the geoCoordinates field is defined. \n\nExample format: `-25.4158764`.",
      "example": "-25.4158764"
    },
    "longitude": {
      "type": "string",
      "title": "longitude",
      "description": "Double value with the longitude coordinates of the address. Required only if the geoCoordinates field is defined. Example format: `-49.342759`.",
      "example": "-49.342759"
    }
  }
}