Create a Label from a Shipment
If you've already created a shipment, you can create a label using just the shipment_id
.
Using a shipment_id
to create a label is the quickest way to create a label after you've successfully planned your shipment. You can also specify the label format, size, and download type to modify the way your label is formatted. You'll simply provide these properties in the body of your request.
Example Request & Response
POST v1/labels/shipment/:shipment_id
Similar to the example in Create a Shipping Label, this example will request a label using the Stamps.com USPS services included with your account. (USPS services are included with US-based ShipEngine accounts. For accounts based in other countries, you can switch to the sandbox to follow along with this tutorial, as Stamps.com USPS services are part of the sandbox for all accounts.)
Response
And that's it! The label is available for download using any of the label_download
URLs provided in the response.