1. Pickup Addresses
  • Authentication API
    • Generate API Token
      POST
  • Create Orders
    • Create Order
      POST
  • Cancel Orders
    • Cancel Order
      PUT
  • Shipping Label
    • Download Shipping Label
      POST
    • Shipping Label Configurations
      GET
    • Update Shipping Label Configurations
      PUT
  • Shipment Tracking
    • Tracking
      GET
  • Couriers
    • Courier Partners
      GET
  • NDR
    • Reattempt NDR
      PUT
  • Pickup Addresses
    • Pickup Hub ids
      GET
    • Create Pickup Hub Id
      POST
    • Pickup Hub Id
      DELETE
  • Shipping Rates
    • Get Shipping Rate (Retail)
      GET
  1. Pickup Addresses

Create Pickup Hub Id

POST
https://api.sharkship.in/v1/b2c/address/pickupAddress
This endpoint enables the creation of a new pickup hub ID. Provide the necessary details in the request body as a JSON payload.
Pickup Address Fields
FieldTypeDescription
address_lane1stringPrimary line of the pickup address
address_lane2stringSecondary line of the pickup address (e.g., floor, suite)
landmarkstringA nearby landmark for the pickup location
PinnumberPIN code of the pickup address
citystringCity of the pickup address
statestringState of the pickup address
namestringName of the pickup hub
phone_nostringContact phone number for the pickup hub
RTO Address Fields
FieldTypeDescription
is_rto_samebooleanSet to true if the RTO (Return to Origin) address is the same as the pickup address. If false, provide the RTO address fields below.
rto_address_lane1stringPrimary line of the RTO address
rto_address_lane2stringSecondary line of the RTO address
rto_landmarkstringA nearby landmark for the RTO location
rto_pinnumberPIN code of the RTO address
rto_citystringCity of the RTO address
rto_statestringState of the RTO address
rto_namestringName associated with the RTO address
rto_phone_nostringContact phone number for the RTO address

Request

Header Params

Body Params application/json

Examples

Responses

🟢201
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.sharkship.in/v1/b2c/address/pickupAddress' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
  "address_lane1": "string",
  "address_lane2": "string",
  "landmark": "string",
  "Pin": 0,
  "city": "string",
  "state": "string",
  "name": "string",
  "phone_no": "string",
  "is_rto_same": true,
  "rto_address_lane1": "string",
  "rto_address_lane2": "string",
  "rto_landmark": "string",
  "rto_pin": 0,
  "rto_city": "string",
  "rto_state": "string",
  "rto_name": "string",
  "rto_phone_no": "string"
}'
Response Response Example
{
    "pickup_hub_id": 1182,
    "hub_address": "H-34 Sharkship",
    "hub_landmark": "Near Sharkship",
    "hub_pin": 110001,
    "hub_city": "Delhi",
    "hub_state": "Delhi",
    "hub_contact_number": "9876543219"
}
Modified at 2026-06-16 10:11:15
Previous
Pickup Hub ids
Next
Pickup Hub Id
Built with