custom_type selects which geometry block is read; the other is ignored. On an edit, account_id must match the existing zone's (otherwise 409) and custom_type cannot be switched (otherwise 400).{
"account_id": "1939ef43-72d1-42e7-bce5-cdb215c43dd3",
"name": "Zone A",
"description": "A polygon zone",
"custom_type": "POLYGON",
"polygon_details": {
"format": "GeoJson",
"polygon": "{\"features\":[{\"geometry\":{\"coordinates\":[[[30,20],[40,40],[20,40],[10,20],[30,20]]],\"type\":\"Polygon\"},\"type\":\"Feature\",\"properties\":{}}],\"type\":\"FeatureCollection\"}"
}
}