Ship From a Warehouse
You likely have one or more warehouse locations that you frequently ship from, in which case it would be annoying to have to specify the ship_from
and return_to
addresses on every shipment. The solution is to Create a Warehouse, then you can simply pass the warehouse_id
instead.
Using warehouses also allows you to Create Manifests of everything you're shipping from each warehouse.
Example
POST /v1/shipments/
The following example demonstrates how to create a shipment using a warehouse_id
instead of a ship_from
address. Other than that, it's the same as the normal Create a Shipment workflow.
Example Request
Example Response
Overriding the Return Address
By default, specifying a warehouse_id
will automatically set ship_from
and return_to
addresses of the shipment. But there are some scenarios where you may want to override the return address that's printed on the shipping label. ShipEngine allows you to do that by specifying a return_to
address in addition to the warehouse_id
.
This feature is currently only supported for Stamps.com, Endicia, FedEx, UPS, DHL E-Commerce, and FirstMile. Please let us know if you need support for additional carriers.