cancel
Showing results for 
Search instead for 
Did you mean: 

Shipstation API help

Tom2024
New Contributor

I was wanting to task for support or request to add a feature to API.  I have a certain need for me to take certain orders that have shipped via API and pull the shipping cost so I can bill for shipping later.  I also really need to pull the number of packages for the order as well so I can add box costs to the shipment total and have that go automatically.

Here is the call that I get the ship cost from, but this should show number of package 3 but does not, anyone know of another way?

ssapi.shipstation.com/shipments?orderNumber=[number]

1 REPLY 1

chris41
Occasional Contributor

That call returns an element "total" at the top level of the response object that will be the number of packages for that order number.

https://www.shipstation.com/docs/api/shipments/list/#:~:text=%7D%0A%20%20%5D%2C-,%22total%22%3A%202%... 

Chris B
Hawaii's Local Buzz