Account management and tag operations
ShipStation V1 API (Legacy) (1.0.0)
The ShipStation V1 API (Legacy) provides comprehensive functionality for managing orders, shipments, carriers, and more within the ShipStation platform.
New integrations should use ShipStation API V2 whenever possible. This V1 API is maintained for existing integrations.
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/
Production Server
https://ssapi.shipstation.com/
- Mock serverhttps://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/warehouses
- Production Serverhttps://ssapi.shipstation.com/warehouses
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
https://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/warehousesResponse
application/json
[ { "warehouseId": 12345, "warehouseName": "Headquarters", "originAddress": { … }, "returnAddress": { … }, "isDefault": true } ]
- Mock serverhttps://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/warehouses/{warehouseId}
- Production Serverhttps://ssapi.shipstation.com/warehouses/{warehouseId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
https://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/warehouses/12345Response
application/json
{ "warehouseId": 12345, "warehouseName": "Headquarters", "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 }
- Mock serverhttps://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/warehouses/{warehouseId}
- Production Serverhttps://ssapi.shipstation.com/warehouses/{warehouseId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
-u <username>:<password> \
https://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/warehouses/12345Response
application/json
{ "success": true, "message": "The requested warehouse has been deleted." }
Bodyapplication/jsonrequired
Physical address for shipping or billing
Second line of the street address
Example: "Apt 4B"
Any of:
Second line of the street address
string
Third line of the street address
Example: "Building B"
Any of:
Third line of the street address
string
Whether the address is residential
Example: true
Any of:
Whether the address is residential
boolean
- Mock serverhttps://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/warehouses/createwarehouse
- 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://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/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
}'Response
application/json
{ "warehouseId": 12345, "warehouseName": "string", "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 }
Bodyapplication/jsonrequired
Physical address for shipping or billing
Second line of the street address
Example: "Apt 4B"
Any of:
Second line of the street address
string
Third line of the street address
Example: "Building B"
Any of:
Third line of the street address
string
Whether the address is residential
Example: true
Any of:
Whether the address is residential
boolean
- Mock serverhttps://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/warehouses/updatewarehouse
- 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://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/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
}'Response
application/json
{ "warehouseId": 0, "warehouseName": "string", "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 }