Shipping
Regions
List service regions where Grasshopper operates. Each region groups multiple hub locations.
GET
/api/regions/
Example
curl https://{licensee-url}/api/regions/ \ -H "Authorization: Bearer $TOKEN"
{
"data": [
{
"region_id": "southeast",
"name": "Southeast",
"hubs": ["hub-atl-01", "hub-mia-02", "hub-cha-03"],
"service_levels": ["wg", "thr", "curb", "b2b"]
},
{
"region_id": "southwest",
"name": "Southwest",
"hubs": ["hub-dfw-01", "hub-aus-02"],
"service_levels": ["wg", "thr", "curb"]
}
]
}
Try it out
Response will appear here