Adds a Ship From Location (formerly known as warehouse) to your account.
NOTE
In the API, the endpoint is called warehouse, but the process actually affects Ship From locations on the application side of operations.
- Production Serverhttps://ssapi.shipstation.com/warehouses/createwarehouse
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://ssapi.shipstation.com/warehouses/createwarehouse \
-H 'Content-Type: application/json' \
-d '{
"warehouseName": "New Ship From Location",
"originAddress": {
"name": "John Doe",
"company": "Acme Corp",
"street1": "123 Main St",
"street2": "Apt 4B",
"street3": "Building B",
"city": "Austin",
"state": "TX",
"postalCode": "78701",
"country": "US",
"phone": "512-555-1234",
"residential": true,
"addressVerified": "Address validated successfully"
},
"returnAddress": {
"name": "John Doe",
"company": "Acme Corp",
"street1": "123 Main St",
"street2": "Apt 4B",
"street3": "Building B",
"city": "Austin",
"state": "TX",
"postalCode": "78701",
"country": "US",
"phone": "512-555-1234",
"residential": true,
"addressVerified": "Address validated successfully"
},
"isDefault": false
}'Loading...