Updates an existing Ship From Location (formerly known as warehouse).
NOTE
In the API, the endpoint is called warehouse, but the process actually affects Ship From locations in the UI on the application side of operations.
- Production Serverhttps://ssapi.shipstation.com/warehouses/updatewarehouse
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
-u <username>:<password> \
https://ssapi.shipstation.com/warehouses/updatewarehouse \
-H 'Content-Type: application/json' \
-d '{
"warehouseId": 17977,
"warehouseName": "Flagship 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": true
}'Loading...