Label Formats and Sizes
By default, all ShipEngine labels are
4x6 (4 inches x 6 inches). You can optionally specify
label_layout: "letter" to create
labels in US Letter size (8.5 inches x 11 inches) when you create a label using the PDF or PNG formats.
Format ShipEngine supports labels in three formats:
Size: ShipEngine PDF and PNG can print either 4"x 6" shipping labels (or 100mm x 150mm for metric users) or letter size (8.5’’x11’’).
Label Download Options
If you do not specify a
label_format when creating a label, you will receive multiple label URLs in the Create Label response. Label URLs remain valid for 90 days. See the Download via URL section of our Downloading a Label article to learn more.
label_download_type as inline to streamline the label download process. The inline label download type will provide a single, Base64 encoded label in the response.
See our Downloading a Label article to learn more about
The following example demonstrates setting the
label_layout when creating a label.
Notice that the
label_download object in the response includes links to download the label as
zpl. There is also an
href field, which exists for backward compatibility purposes. We recommend that you use the other fields instead.