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.
Request
Create a new order or update an existing order. If the orderKey is specified, ShipStation will attempt to locate the order with that key. If found, the existing order will be updated. If not found, a new order will be created with that orderKey.
Note: This call does not currently support partial updates. The entire resource must be provided in the body of the request.
Only orders in an open status (awaiting_payment, awaiting_shipment, on_hold) can be updated. Orders in cancelled and shipped states may not be updated.
Date the order was paid
Date the order was paid
Date the order should be shipped by
Date the order should be shipped by
Current status of the order
Notes from the customer
Notes from the customer
Internal notes (not visible to customer)
Internal notes (not visible to customer)
Payment method used
Payment method used
Shipping service requested by customer
Shipping service requested by customer
Delivery confirmation type
Date the order was shipped
Date the order was shipped
Date to hold order until
Date to hold order until
- Mock serverhttps://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/orders/createorder
- Production Serverhttps://ssapi.shipstation.com/orders/createorder
- 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/orders/createorder \
-H 'Content-Type: application/json' \
-d '{
"orderNumber": "TEST-ORDER-API-DOCS",
"orderKey": "0f6bec18-3e89-4771-83aa-f392d84f4c74",
"orderDate": "2015-06-29T08:46:27.000Z",
"paymentDate": "2015-06-29T08:46:27.000Z",
"shipByDate": "2015-07-05T00:00:00.000Z",
"orderStatus": "awaiting_shipment",
"customerUsername": "headhoncho@whitehouse.gov",
"customerEmail": "headhoncho@whitehouse.gov",
"billTo": {
"name": "The President",
"country": "US"
},
"shipTo": {
"name": "The President",
"company": "US Govt",
"street1": "1600 Pennsylvania Ave",
"street2": "Oval Office",
"city": "Washington",
"state": "DC",
"postalCode": "20500",
"country": "US",
"phone": "555-555-5555",
"residential": true
},
"items": [
{
"lineItemKey": "vd08-MSLbtx",
"sku": "ABC123",
"name": "Test item #1",
"quantity": 2,
"unitPrice": 99.99,
"weight": {
"value": 24,
"units": "ounces"
}
}
],
"amountPaid": 218.73,
"taxAmount": 5,
"shippingAmount": 10,
"customerNotes": "Please ship as soon as possible!",
"requestedShippingService": "Priority Mail"
}'Order created or updated successfully
Timestamp when order was created in ShipStation
Timestamp when order was last modified
Date the order was paid
Date the order was paid
Date the order should be shipped by
Date the order should be shipped by
Current status of the order
Notes from the customer
Notes from the customer
Internal notes (not visible to customer)
Internal notes (not visible to customer)
Payment method used
Payment method used
Shipping service requested by customer
Shipping service requested by customer
Delivery confirmation type
Date the order was shipped
Date the order was shipped
Date to hold order until
Date to hold order until
Array of tag IDs associated with this order
Array of tag IDs associated with this order
User assigned to order (GUID format)
User assigned to order (GUID format)
{ "orderId": 93348442, "orderNumber": "TEST-ORDER-API-DOCS", "orderKey": "0f6bec18-3e89-4771-83aa-f392d84f4c74", "orderDate": "2015-06-29T08:46:27.000Z", "createDate": "2016-01-12T16:03:06.893Z", "modifyDate": "2016-01-12T16:03:06.893Z", "paymentDate": "2015-06-29T08:46:27.000Z", "shipByDate": "2015-07-05T00:00:00.000Z", "orderStatus": "awaiting_shipment", "customerId": 37701499, "customerUsername": "headhoncho@whitehouse.gov", "customerEmail": "headhoncho@whitehouse.gov", "orderTotal": 194.43, "amountPaid": 218.73, "taxAmount": 5, "shippingAmount": 10 }
- Mock serverhttps://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/orders
- Production Serverhttps://ssapi.shipstation.com/orders
- 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/orders?customerName=string&itemKeyword=string&createDateStart=2019-08-24T14%3A15%3A22Z&createDateEnd=2019-08-24T14%3A15%3A22Z&modifyDateStart=2019-08-24T14%3A15%3A22Z&modifyDateEnd=2019-08-24T14%3A15%3A22Z&orderDateStart=2019-08-24T14%3A15%3A22Z&orderDateEnd=2019-08-24T14%3A15%3A22Z&orderNumber=string&orderStatus=awaiting_payment&paymentDateStart=2019-08-24T14%3A15%3A22Z&paymentDateEnd=2019-08-24T14%3A15%3A22Z&storeId=0&sortBy=OrderDate&sortDir=ASC&page=1&pageSize=100'{ "orders": [ { … } ], "total": 2, "page": 1, "pages": 1 }
- Mock serverhttps://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/orders/{orderId}
- Production Serverhttps://ssapi.shipstation.com/orders/{orderId}
- 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/orders/93348442Order retrieved successfully
Timestamp when order was created in ShipStation
Timestamp when order was last modified
Date the order was paid
Date the order was paid
Date the order should be shipped by
Date the order should be shipped by
Current status of the order
Notes from the customer
Notes from the customer
Internal notes (not visible to customer)
Internal notes (not visible to customer)
Payment method used
Payment method used
Shipping service requested by customer
Shipping service requested by customer
Delivery confirmation type
Date the order was shipped
Date the order was shipped
Date to hold order until
Date to hold order until
Array of tag IDs associated with this order
Array of tag IDs associated with this order
User assigned to order (GUID format)
User assigned to order (GUID format)
{ "orderId": 93348442, "orderNumber": "TEST-ORDER-API-DOCS", "orderKey": "0f6bec18-3e89-4771-83aa-f392d84f4c74", "orderDate": "2015-06-29T08:46:27Z", "createDate": "2016-01-12T16:03:06Z", "modifyDate": "2016-01-12T16:03:06Z", "paymentDate": "2015-06-29T08:46:27Z", "shipByDate": "2015-07-05T00:00:00Z", "orderStatus": "awaiting_shipment", "customerId": 37701499, "customerUsername": "headhoncho@whitehouse.gov", "customerEmail": "headhoncho@whitehouse.gov", "billTo": { "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" }, "shipTo": { "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" }, "items": [ { … } ], "orderTotal": 194.43, "amountPaid": 218.73, "taxAmount": 5, "shippingAmount": 10, "customerNotes": "Please ship as soon as possible!", "internalNotes": "Customer called and would like to upgrade shipping", "gift": false, "giftMessage": "Happy Birthday!", "paymentMethod": "Credit Card", "requestedShippingService": "Priority Mail", "carrierCode": "fedex", "serviceCode": "fedex_2day", "packageCode": "package", "confirmation": "none", "shipDate": "2015-07-02", "holdUntilDate": "2015-07-05", "weight": { "value": 24, "units": "ounces" }, "dimensions": { "length": 7, "width": 5, "height": 6, "units": "inches" }, "insuranceOptions": { "provider": "carrier", "insureShipment": true, "insuredValue": 200 }, "internationalOptions": { "contents": "merchandise", "customsItems": [ … ], "nonDelivery": "return_to_sender" }, "advancedOptions": { "warehouseId": 98765, "nonMachinable": false, "saturdayDelivery": false, "containsAlcohol": false, "mergedOrSplit": false, "mergedIds": [ … ], "parentId": 93348442, "storeId": 12345, "customField1": "Custom data that you can add to an order", "customField2": "Per UI settings, this can appear on some carrier labels", "customField3": "https://help.shipstation.com/hc/en-us/articles/206639957", "source": "Webstore", "billToParty": "third_party", "billToAccount": "123456789", "billToPostalCode": "78701", "billToCountryCode": "US" }, "tagIds": [ 0 ], "userId": "123456AB-ab12-3c4d-5e67-89f1abc1defa", "externallyFulfilled": false, "externallyFulfilledBy": "Amazon FBA" }
- Mock serverhttps://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/orders/{orderId}
- Production Serverhttps://ssapi.shipstation.com/orders/{orderId}
- 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/orders/93348442{ "success": true, "message": "The requested order has been deleted." }
Request
Create or update multiple orders in one request. If the orderKey is specified, ShipStation will attempt to locate the order with that key. If found, the existing order will be updated. If not found, a new order will be created.
For split orders, the orderKey is always required when creating or updating orders, and the orderId is always required for updates.
This call does not currently support partial updates; the entire resource must be provided in the body of the request.
Only orders in an open status (awaiting_payment, awaiting_shipment, pending_fulfillment, on_hold) can be updated. Orders in cancelled or shipped status may not be updated.
Date the order was paid
Date the order was paid
Date the order should be shipped by
Date the order should be shipped by
Current status of the order
Notes from the customer
Notes from the customer
Internal notes (not visible to customer)
Internal notes (not visible to customer)
Payment method used
Payment method used
Shipping service requested by customer
Shipping service requested by customer
Delivery confirmation type
Date the order was shipped
Date the order was shipped
Date to hold order until
Date to hold order until
Array of tag IDs associated with this order
Array of tag IDs associated with this order
- Mock serverhttps://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/orders/createorders
- Production Serverhttps://ssapi.shipstation.com/orders/createorders
- 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/orders/createorders \
-H 'Content-Type: application/json' \
-d '[
{
"orderNumber": "TEST-ORDER-API-DOCS-01",
"orderKey": "0f6bec18-3e89-4881-83aa-f392d84f4c74",
"orderDate": "2015-06-29T08:46:27.000Z",
"orderStatus": "awaiting_shipment",
"customerEmail": "headhoncho@whitehouse.gov",
"shipTo": {
"name": "The President",
"company": "US Govt",
"street1": "1600 Pennsylvania Ave",
"city": "Washington",
"state": "DC",
"postalCode": "20500",
"country": "US"
},
"items": [
{
"sku": "ABC123",
"name": "Test item #1",
"quantity": 2,
"unitPrice": 99.99
}
]
},
{
"orderNumber": "TEST-ORDER-API-DOCS-02",
"orderKey": "0d6bec18-3e79-4981-83ca-f392d84f4c19",
"orderDate": "2015-06-29T08:46:27.000Z",
"orderStatus": "awaiting_shipment",
"customerEmail": "headhoncho@whitehouse.gov",
"shipTo": {
"name": "The President",
"street1": "1600 Pennsylvania Ave",
"city": "Washington",
"state": "DC",
"postalCode": "20500",
"country": "US"
},
"items": [
{
"sku": "XYZ789",
"name": "Test item #2",
"quantity": 1,
"unitPrice": 49.99
}
]
}
]'{ "hasErrors": false, "results": [ { … } ] }
- Mock serverhttps://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/orders/addtag
- Production Serverhttps://ssapi.shipstation.com/orders/addtag
- 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/orders/addtag \
-H 'Content-Type: application/json' \
-d '{
"orderId": 123456,
"tagId": 1234
}'{ "success": true, "message": "Tag added successfully." }
- Mock serverhttps://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/orders/removetag
- Production Serverhttps://ssapi.shipstation.com/orders/removetag
- 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/orders/removetag \
-H 'Content-Type: application/json' \
-d '{
"orderId": 123456,
"tagId": 1234
}'{ "success": true, "message": "Tag removed successfully." }
- Mock serverhttps://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/orders/assignuser
- Production Serverhttps://ssapi.shipstation.com/orders/assignuser
- 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/orders/assignuser \
-H 'Content-Type: application/json' \
-d '{
"orderIds": [
123456789,
12345679
],
"userId": "123456AB-ab12-3c4d-5e67-89f1abc1defa"
}'{ "success": true, "message": "User assigned successfully." }
- Mock serverhttps://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/orders/unassignuser
- Production Serverhttps://ssapi.shipstation.com/orders/unassignuser
- 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/orders/unassignuser \
-H 'Content-Type: application/json' \
-d '{
"orderIds": [
123456789,
12345679
]
}'{ "success": true, "message": "User unassigned successfully." }
- Mock serverhttps://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/orders/holduntil
- Production Serverhttps://ssapi.shipstation.com/orders/holduntil
- 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/orders/holduntil \
-H 'Content-Type: application/json' \
-d '{
"orderId": 1072467,
"holdUntilDate": "2014-12-01"
}'{ "success": true, "message": "Order held successfully." }
- Mock serverhttps://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/orders/restorefromhold
- Production Serverhttps://ssapi.shipstation.com/orders/restorefromhold
- 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/orders/restorefromhold \
-H 'Content-Type: application/json' \
-d '{
"orderId": 1234567
}'{ "success": true, "message": "The requested order has been restored" }
- Mock serverhttps://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/orders/markasshipped
- Production Serverhttps://ssapi.shipstation.com/orders/markasshipped
- 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/orders/markasshipped \
-H 'Content-Type: application/json' \
-d '{
"orderId": 93348442,
"carrierCode": "usps",
"shipDate": "2014-04-01",
"trackingNumber": "913492493294329421",
"notifyCustomer": true,
"notifySalesChannel": true
}'{ "orderId": 123456789, "orderNumber": "ABC123" }
- Mock serverhttps://docs.shipstation.com/_mock/apis/shipstation-v1/openapi/orders/listbytag
- Production Serverhttps://ssapi.shipstation.com/orders/listbytag
- 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/orders/listbytag?orderStatus=awaiting_shipment&tagId=53974&page=1&pageSize=100'{ "orders": [ { … } ], "total": 1, "page": 1, "pages": 1 }