GET /v1/b2c/address/pickupAddressAuthorization: Bearer <token>| Field | Type | Description |
|---|---|---|
pickup_hub_id | integer | Unique identifier for the pickup hub |
hub_address | string | Full street address of the pickup hub |
hub_landmark | string | Nearby landmark for the pickup hub (may be empty) |
hub_pin | integer | PIN/postal code of the pickup hub location |
hub_city | string | City where the pickup hub is located |
hub_state | string | State where the pickup hub is located |
hub_contact_number | string | Contact phone number for the pickup hub |
hub_name | string | Name of the pickup hub |
is_rto_same | string | Whether the RTO hub is the same as the pickup hub. "Y" if same, "N" if different |
rto_hub_address | string | Full street address of the RTO hub |
rto_hub_landmark | string | Nearby landmark for the RTO hub (may be empty) |
rto_hub_pin | integer | PIN/postal code of the RTO hub location |
rto_hub_city | string | City where the RTO hub is located |
rto_hub_state | string | State where the RTO hub is located |
rto_hub_contact_number | string | Contact phone number for the RTO hub |
rto_hub_name | string | Name of the RTO hub |
curl --location 'https://api.sharkship.in/v1/b2c/address/pickupAddress' \
--header 'Authorization: Bearer <token>'[
{
"pickup_hub_id": 1,
"hub_address": "803, 8th Floor, Tower 5, Business Park, 12th Avenue, Sector-27C",
"hub_landmark": "",
"hub_pin": 110001,
"hub_city": "New Delhi",
"hub_state": "Delhi",
"hub_contact_number": "9876543210",
"hub_name": "Acme Logistics Hub",
"is_rto_same": "N",
"rto_hub_address": "Unit 12, Industrial Area, Sector 23A",
"rto_hub_landmark": "",
"rto_hub_pin": 110002,
"rto_hub_city": "New Delhi",
"rto_hub_state": "Delhi",
"rto_hub_contact_number": "9876540001",
"rto_hub_name": "Acme RTO Hub"
},
{
"pickup_hub_id": 2,
"hub_address": "3rd Floor, Commerce Square, 448-A, Industrial Area Phase V, Sector 19",
"hub_landmark": "Near City Post Office",
"hub_pin": 110003,
"hub_city": "New Delhi",
"hub_state": "Delhi",
"hub_contact_number": "9876541111",
"hub_name": "Acme Fulfillment Center",
"is_rto_same": "Y",
"rto_hub_address": "3rd Floor, Commerce Square, 448-A, Industrial Area Phase V, Sector 19",
"rto_hub_landmark": "Near City Post Office",
"rto_hub_pin": 110003,
"rto_hub_city": "New Delhi",
"rto_hub_state": "Delhi",
"rto_hub_contact_number": "9876541111",
"rto_hub_name": "Acme Fulfillment Center"
}
]