Blowhorn API Documentation
  • Welcome
  • API REFERENCE
    • Authentication
      • Customer Authentication
      • Partner Authentication
    • Orders
      • Shipment Orders
      • Marketplace Orders
      • Cancel Order
      • Order Event
      • Order Event History
      • ETA
      • Delivery Partner Details
      • Order Documents
    • Drivers
      • Available Vehicle Class
      • Driver Availability
      • Payday Loan Eligibility
      • Driver Details
      • Driver Balance
      • Driver Deductions
    • Locations
      • Serviceability
      • Hubs
      • Coverage
      • Location Type
      • Storage Type
      • Location Zone
      • Location
    • WMS Inbound
      • Clients
      • Suppliers
      • Purchase Orders
      • Advance Shipping Notice
      • Goods Receipt Note
    • WMS Outbound
      • Shipping Label
      • Shipping Manifest
    • Inventory
      • Product Group
      • Tracking Level
      • Pack Config
      • SKU
      • Inventory
      • Inventory Transaction
    • Webhooks
      • HMAC Authentication
      • Order Status
      • Trip Status
      • Inventory Status
  • Help
    • FAQ
Powered by GitBook
On this page

Was this helpful?

  1. API REFERENCE
  2. Locations

Coverage

Coverage for the Hub

GET /hub/coverage

Use this api to get the area a particular hub covers by providing the api key and the details of the coverage - name of the city, latitude and longitude to get the serviceability. Entering the hub name lists the pincodes that it covers while providing the latitude and longitude should provide the polygonal area covered by the hub. NOTE: If name of the hub is not provided, then latitude and longitude are mandatory.

Query Parameters

Name
Type
Description

hub

string

Name of the hub

latitude

number

Latitude of delivery address

longitude

number

Longitude of delivery address

Headers

Name
Type
Description

API_KEY

string

Enter the API Key

{
  "status": "SUCCESS",
  "message": {
    "type": "Feature",
    "geometry": {
      "type": "Polygon",
      "coordinates": [
        [
          79.6077403841797,
          13.859221792371132
        ],
        [
          80.1350841341797,
          13.303910339793507
        ],
        [
          79.9812755404297,
          12.961543047963888
        ],
        [
          79.4978771029297,
          12.618704246404995
        ],
        [
          79.6077403841797,
          13.859221792371132
        ]
      ]
    }
  }
}
{
  "status": "FAIL",
  "message": "Hub with name 'Bellandur' doesn't exists"
}
{
  "status": "FAIL",
  "message": "Location is out of coverage area"
}
{
  "status": "string",
  "message": "string"
}
{
  "status": "string",
  "message": "string"
}
PreviousHubsNextLocation Type

Last updated 2 years ago

Was this helpful?