Skip to content

Get Territory

GET {{BASE_HABITAT_URL}}/api/v3/territories/038009fa-e0b0-4805-bdcc-ee49a2d73925

Required scope: territories:read

No description is available yet.

Terminal window
curl --request GET '${BASE_HABITAT_URL}/api/v3/territories/038009fa-e0b0-4805-bdcc-ee49a2d73925'
{
"type": "success",
"data": [
{
"id": "038009fa-e0b0-4805-bdcc-ee49a2d73925",
"created_at": "2023-03-16T16:54:59.280Z",
"name": "mikes testaa",
"shortcode": "PAHL",
"timezone": "America/New_York",
"zone": {
"type": "Polygon",
"coordinates": [
[
[
-84.39102792034079,
33.95189377729187
],
[
-84.41501821353695,
33.95091381561112
],
[
-84.4387758271438,
33.947983435458944
],
[
-84.46207038619055,
33.943131057341354
],
[
-84.48467610023073,
33.93640373589924
],
[
-84.50637399416374,
33.92786669412983
],
[
-84.52695406627284,
33.91760267829743
],
[
-84.54621735077312,
33.905711140417196
],
[
-84.5639778634478,
33.89230725700097
],
[
-84.58006441050702,
33.87752079444011
],
[
-84.59432224259055,
33.861494832950754
],
[
-84.60661453782244,
33.844384362401016
],
[
-84.6168236999679,
33.82635476456462
],
[
-84.62485246000432,
33.80758019739014
],
[
-84.63062477175282,
33.788241897731346
],
[
-84.63408649458894,
33.76852641964817
],
[
-84.63520585862256,
33.74862382585801
],
[
-84.63397371007004,
33.72872585019602
],
[
-84.6304035368112,
33.7090240490338
],
[
-84.6245312762983,
33.68970795951668
],
[
-84.61641491004595,
33.67096328221778
],
[
-84.60613385086107,
33.652970105382664
],
[
-84.59378813075895,
33.63590118736425
],
[
-84.57949739914682,
33.61992031313222
],
[
-84.56339974233799,
33.60518073990102
],
[
-84.54565033678375,
33.5918237459647
],
[
-84.52641994958314,
33.57997729576967
],
[
-84.505893300855,
33.569754833108924
],
[
-84.48426730343844,
33.56125421309614
],
[
-84.46174919613713,
33.554556782284926
],
[
-84.43855458734413,
33.54972661494938
],
[
-84.41490542638887,
33.546809912146
],
[
-84.39102792034079,
33.545834568743665
],
[
-84.36715041429268,
33.546809912146
],
[
-84.34350125333744,
33.54972661494938
],
[
-84.32030664454443,
33.554556782284926
],
[
-84.29778853724312,
33.56125421309614
],
[
-84.27616253982656,
33.569754833108924
],
[
-84.25563589109842,
33.57997729576967
],
[
-84.23640550389781,
33.5918237459647
],
[
-84.21865609834356,
33.60518073990102
],
[
-84.20255844153475,
33.61992031313222
],
[
-84.18826770992261,
33.63590118736425
],
[
-84.17592198982048,
33.652970105382664
],
[
-84.1656409306356,
33.67096328221778
],
[
-84.15752456438325,
33.68970795951668
],
[
-84.15165230387036,
33.7090240490338
],
[
-84.14808213061151,
33.72872585019602
],
[
-84.14684998205901,
33.74862382585801
],
[
-84.14796934609262,
33.76852641964817
],
[
-84.15143106892874,
33.788241897731346
],
[
-84.15720338067723,
33.80758019739014
],
[
-84.16523214071367,
33.82635476456462
],
[
-84.17544130285913,
33.844384362401016
],
[
-84.18773359809101,
33.861494832950754
],
[
-84.20199143017454,
33.87752079444011
],
[
-84.21807797723376,
33.89230725700097
],
[
-84.23583848990843,
33.905711140417196
],
[
-84.25510177440873,
33.91760267829743
],
[
-84.27568184651784,
33.92786669412983
],
[
-84.29737974045082,
33.93640373589924
],
[
-84.31998545449102,
33.943131057341354
],
[
-84.34328001353774,
33.947983435458944
],
[
-84.36703762714461,
33.95091381561112
],
[
-84.39102792034079,
33.95189377729187
]
]
]
},
"center": {
"type": "Point",
"coordinates": [
-81.59097,
41.444923
]
},
"operator_id": 1,
"options": {
"merchant_commission": {
"base": 5.99
},
"runner_commission": {
"base": 5,
"base_outside_zone": 1.5
},
"runner_scheduling": {
"schedule_publish_days_out": 6,
"schedule_max_callout_percent": null,
"hide_open_shifts": false
},
"ext_fulfillment": {
"strategy_id": "3390e635-d510-4f51-b809-513db03d2e76"
},
"self_fulfillment": {
"use_engine": true,
"auto_route": false,
"auto_assign": false,
"auto_assign_filter_mins": null,
"require_signature": false
}
}
},
{
"id": "1d08b5c3-36f1-4ae7-9d0e-b7e0ba171efa",
"created_at": "2023-03-14T22:38:52.108Z",
"name": "Philadelphia",
"shortcode": "PHL",
"timezone": "America/New_York",
"zone": {
"type": "Polygon",
"coordinates": [
[
[
-75.23875540887481,
40.04321413624328
],
[
-75.23875540887481,
39.8813869589423
],
[
-75.05292257123028,
39.8813869589423
],
[
-75.05292257123028,
40.04321413624328
],
[
-75.23875540887481,
40.04321413624328
]
]
]
},
"center": {
"type": "Point",
"coordinates": [
-81.59097,
41.444923
]
},
"operator_id": 1,
"options": {
"merchant_commission": {
"base": 5.99
},
"runner_commission": {
"base": 5,
"base_outside_zone": 1.5
},
"runner_scheduling": {
"schedule_publish_days_out": 6,
"schedule_max_callout_percent": null,
"hide_open_shifts": false
},
"ext_fulfillment": {
"strategy_id": "3390e635-d510-4f51-b809-513db03d2e76"
},
"self_fulfillment": {
"use_engine": true,
"auto_route": false,
"auto_assign": false,
"auto_assign_filter_mins": null,
"require_signature": false
}
}
},
{
"id": "79dd81b0-0649-487b-9af6-9c1ab0f30bba",
"created_at": "2023-03-14T22:32:31.266Z",
"name": "Philadelphia",
"shortcode": "PHL",
"timezone": "America/New_York",
"zone": {
"type": "Polygon",
"coordinates": [
[
[
-75.23875540887481,
40.04321413624328
],
[
-75.23875540887481,
39.8813869589423
],
[
-75.05292257123028,
39.8813869589423
],
[
-75.05292257123028,
40.04321413624328
],
[
-75.23875540887481,
40.04321413624328
]
]
]
},
"center": {
"type": "Point",
"coordinates": [
-81.59097,
41.444923
]
},
"operator_id": 1,
"options": {
"merchant_commission": {
"base": 5.99
},
"runner_commission": {
"base": 5,
"base_outside_zone": 1.5
},
"runner_scheduling": {
"schedule_publish_days_out": 6,
"schedule_max_callout_percent": null,
"hide_open_shifts": false
},
"ext_fulfillment": {
"strategy_id": "3390e635-d510-4f51-b809-513db03d2e76"
},
"self_fulfillment": {
"use_engine": true,
"auto_route": false,
"auto_assign": null,
"auto_assign_filter_mins": null,
"require_signature": false
}
}
},
{
"id": "0a3ef2af-9231-41ed-8768-1def8ee9a5f9",
"created_at": "2023-03-14T22:13:46.044Z",
"name": "Philly",
"shortcode": "PHL",
"timezone": "America/New_York",
"zone": {
"type": "Polygon",
"coordinates": [
[
[
-75.23875540887481,
40.04321413624328
],
[
-75.23875540887481,
39.8813869589423
],
[
-75.05292257123028,
39.8813869589423
],
[
-75.05292257123028,
40.04321413624328
],
[
-75.23875540887481,
40.04321413624328
]
]
]
},
"center": {
"type": "Point",
"coordinates": [
-81.59097,
41.444923
]
},
"operator_id": 1,
"options": {
"merchant_commission": {
"base": 5.99
},
"runner_commission": {
"base": 5,
"base_outside_zone": 1.5
},
"runner_scheduling": {
"schedule_publish_days_out": 6,
"schedule_max_callout_percent": null,
"hide_open_shifts": false
},
"ext_fulfillment": {
"strategy_id": "3390e635-d510-4f51-b809-513db03d2e76"
},
"self_fulfillment": {
"use_engine": true,
"auto_route": false,
"auto_assign": null,
"auto_assign_filter_mins": null,
"require_signature": false
}
}
},
{
"id": "a953b4be-ae6f-43f8-a77d-49be62c3fef2",
"created_at": "2023-03-14T22:12:22.897Z",
"name": "Philly",
"shortcode": "PHL",
"timezone": "America/New_York",
"zone": {
"type": "Polygon",
"coordinates": [
[
[
-75.23875540887481,
40.04321413624328
],
[
-75.23875540887481,
39.8813869589423
],
[
-75.05292257123028,
39.8813869589423
],
[
-75.05292257123028,
40.04321413624328
],
[
-75.23875540887481,
40.04321413624328
]
]
]
},
"center": {
"type": "Point",
"coordinates": [
-81.59097,
41.444923
]
},
"operator_id": 1,
"options": {
"merchant_commission": {
"base": 5.99
},
"runner_commission": {
"base": 5,
"base_outside_zone": 1.5
},
"runner_scheduling": {
"schedule_publish_days_out": 6,
"schedule_max_callout_percent": null,
"hide_open_shifts": false
},
"ext_fulfillment": {
"strategy_id": "3390e635-d510-4f51-b809-513db03d2e76"
},
"self_fulfillment": {
"use_engine": true,
"auto_route": false,
"auto_assign": null,
"auto_assign_filter_mins": null,
"require_signature": false
}
}
},
{
"id": "db93f018-36e2-416b-8196-5d3a36033440",
"created_at": "2017-01-01T22:06:55.741Z",
"name": "Philadelphia",
"shortcode": "PHL",
"timezone": "America/New_York",
"zone": {
"type": "Polygon",
"coordinates": [
[
[
-75.19944190979005,
40.08227449035694
],
[
-75.2460479736328,
40.079384912479235
],
[
-75.28698921203613,
40.07229179232393
],
[
-75.28759002685547,
39.96712200067156
],
[
-75.26458740234375,
39.915529641706314
],
[
-75.29316902160643,
39.881288765222514
],
[
-75.24304389953612,
39.870749669137865
],
[
-75.19248962402344,
39.883132940527126
],
[
-75.14167785644531,
39.8910359871695
],
[
-75.13592720031737,
39.915002988576184
],
[
-75.14150619506836,
39.92987938065514
],
[
-75.13927459716797,
39.949621810595595
],
[
-75.13309478759766,
39.96291183776863
],
[
-75.07455825805664,
39.983828528239144
],
[
-75.16176223754883,
40.060271207785874
],
[
-75.19944190979005,
40.08227449035694
]
]
]
},
"center": {
"type": "Point",
"coordinates": [
-75.1673,
39.9532
]
},
"operator_id": 1,
"options": {
"merchant_commission": {
"base": 5.99
},
"runner_commission": {
"base": 1.5,
"base_outside_zone": 1.5
},
"runner_scheduling": {
"schedule_publish_days_out": 6,
"schedule_max_callout_percent": 0.05,
"hide_open_shifts": false
},
"ext_fulfillment": {
"strategy_id": "3390e635-d510-4f51-b809-513db03d2e76"
},
"self_fulfillment": {
"use_engine": true,
"auto_route": false,
"auto_assign": null,
"auto_assign_filter_mins": null,
"require_signature": false
}
}
}
],
"total": 6
}