Skip to main content

Create Warehouse

Creates a new pickup warehouse in the Velocity Shipping system.

Method: POST Endpoint: /custom/api/v1/warehouse

Request Fields

FieldTypeRequiredDescriptionExample
namestringYesWarehouse display nameDemo Warehouse
phone_numberstringYesPOC Contact number8860606061
gst_nostringOptionalGST no. of the warehouseTY9782399913
emailstringYesPOC emailshipfast-clickpost@velocity.in
contact_personstringYesWarehouse POCRaghuraj
address_attributes.street_addressstringYesStreet addressIncubex HSR Layout...
address_attributes.zipstringYesPIN560102
address_attributes.citystringYesCityBangalore
address_attributes.statestringYesStateKarnataka
address_attributes.countrystringYesCountryIndia

Sample Request

curl --location 'https://shazam.velocity.in/custom/api/v1/warehouse' \
--header 'Content-Type: application/json' \
--header 'Authorization: bbqRkOXw0xWLuYj9ubnDwg' \
--data-raw '{
"name": "Demo Warehouse",
"phone_number": "8860606061",
"gst_no": "886060608861",
"email": "shipfast-clickpost@velocity.in",
"contact_person": "Raghuraj",
"address_attributes": {
"street_address": "Incubex HSR Layout (HSR6) #1504, 19th Main, 11th Cross Rd, opposite Decathlon, 1st Sector, HSR Layout",
"zip": "560102",
"city": "Bangalore",
"state": "Karnataka",
"country": "India"
}
}'

Success Response

{
"status": "SUCCESS",
"payload": {
"warehouse_id": "WH66DU"
}
}

Error Response

{
"status": "ERROR",
"message": "Validation failed: Phone number is invalid"
}