Site Logo

🎉 ShipEngine is becoming ShipStation API 🎉

Over the next few months you'll notice the ShipEngine website, documentation portal, and dashboard being rebranded as ShipStation API. For our ShipEngine customers, you don't need to take any action or change any of your integrations in any way. All endpoints will remain the same and continue to function as they always have.

To learn more about what's coming, review our New ShipStation API page.

USPS from ShipStation

USPS from ShipStation offers domestic and international shipping services to ShipStation API accounts based in the US.

This guide provides developers the details needed to build USPS from ShipStation shipping capabilities into your ShipStation API workflows.

ShipStation API also allows you to connect your own existing Stamps.com account to use the USPS services and rates available through that account in ShipStation API. The connection process and some usage details are different than those for USPS from ShipStation. For details about connecting and using your own Stamps.com account with ShipStation API, see our USPS (Stamps.com) Carrier Guide.

Requirements

carrier_name: stamps_com

  • A ShipStation API account based in the US.
  • ShipStation Carriers must be activated for the account and have a positive account balance to create labels. See our Using ShipStation Carriers page for details about activating in your account.
  • A weight value is required for all shipments.

Rates

USPS from ShipStation supports rate shopping with ShipStation API.

Service Details

Available USPS from ShipStation services are provided below. Please note that carriers may update their available services at any time. To ensure you are always using valid services, you can use the list carrier services endpoint at any time.

USPS Domestic Services

ServiceTransit TimeMaximum Dimensions (LxWxH)Max WeightService Code
USPS Ground Advantage*2-5 days22" x 18" x 15"70 lbsusps_ground_advantage
USPS Priority Mail1-3 daysvaries by package type70 lbsusps_priority_mail
USPS Priority Mail Express1-2 daysL x 2xW x H cannot exceed 108"70 lbsusps_priority_mail_express
Media Mail2-9 daysL x 2xW x H cannot exceed 108"70 lbsusps_media_mail

*In 2023, USPS Ground Advantage replaced both USPS First Class Package and Parcel Select Ground services.

USPS International Services

ServiceTransit TimeMaximum DimensionsMax WeightService Code
USPS First Class Mail Intl7-21 daysL x 2xW x H cannot exceed 136"64 ozusps_first_class_mail_international
USPS Priority Mail Intl6-10 daysL x 2xW x H cannot exceed 108"70 lbsusps_priority_mail_international
USPS Priority Mail Express Intl3-5 daysL x 2xW x H cannot exceed 108"70 lbsusps_priority_mail_express_international

GlobalPost Services

GlobalPost international services are also available under the USPS from ShipStation carrier, as USPS is the official first-mile carrier for GlobalPost shipments originating in the US. For all GlobalPost services, transit time will vary depending on the destination country.

ServiceMax WeightService Code
GlobalPost Economy Intl4.4 lbsglobalpost_economy
GlobalPost Standard Intl70 lbsglobalpost_priority
GlobalPost Plus66 lbsgp_plus
GlobalPost SmartSaver Economy Intl4.4 lbsglobalpost_economy_smart_saver
GlobalPost SmartSaver Standard Intl70 lbsglobalpost_priority_smart_saver
GlobalPost Plus SmartSaver66 lbsglobalpost_plus

Return Services

USPS from ShipStation supports return labels using any domestic services. Review the Return Shipping Labels page for details on creating return labels with ShipStation API.

Packages

The following carrier package types are available for USPS services:

Package NameAPI CodePackage Details
Medium Flat Rate Boxmedium_flat_rate_boxDomestic and international
Flat Rate Envelopeflat_rate_envelopeDomestic and international
Small Flat Rate Boxsmall_flat_rate_boxDomestic and international
Large Flat Rate Boxlarge_flat_rate_boxDomestic and international
Flat Rate Padded Envelopeflat_rate_padded_envelopeDomestic and international
Flat Rate Legal Envelopeflat_rate_legal_envelopeDomestic and international

Adding Shipment Insurance

USPS from ShipStation supports adding either carrier insurance or Parcelguard insurance (but not both) to shipments created with ShipStation API.

Review the Parcel Insurance page for details about adding shipment insurance with ShipStation API.

Label Support

  • Label sizes: 4" x 6"
  • Label formats: PDF, ZPL

Label Reference Fields

USPS from ShipStation supports adding custom label messages to all three label reference fields when using domestic services. International services do not support label messages.

Multi-Package Labels

USPS services do not support multi-package shipping labels at this time.

Label Branding

USPS from ShipStation supports adding a custom label image to your labels. See our Create Custom Shipping Labels page for details.

Voiding Labels

USPS supports voiding labels with ShipStation API, but it must be done within 28 days of label creation and the label cannot have been scanned by the USPS.

Paperless Lables

USPS from ShipStation supports paperless labels. This means you can generate a QR code for your customer and they can take that QR code to be scanned at participating USPS locations, who will then print the label for them.

Review our paperless labels page for details on how to generate a QR code instead of a printable label. Currently this supports the qr_code value for the display_scheme property.

Customs Declarations

Customs declarations for GlobalPost and GAP labels are submitted to the carrier electronically. See our International Shipments page for details about shpping internationally via ShipStation API.

Delivery Confirmation

Confirmation TypeAPI CodeDescription
No confirmationnoneDefault. When no delivery confirmation is requested.
DeliverydeliveryFor general delivery confirmation.
SignaturesignatureA signature is required to complete the delivery. Not supported for international shipments.
Adult Signatureadult_signatureAn adult signature is required for the shipment to be delivered.
Restricted deliveryrestricted_delivery

Signature and Adult Signature confirmation types are not supported for international shipments.

See our Delivery Confirmation page for more details about using the confirmation property.

Advanced Options

USPS from ShipStation supports certain advanced options, which you can add to the shipment object when creating a shipment or label.

OptionNameDefault ValueDescription
Non Machinablenon_machinablefalseIndicates that the package cannot be processed through USPS sorting machines.

To ensure you always have the most up-to-date information about a carrier's advanced options, use the list carrier options call.

Dangerous Goods

USPS from ShipStation does not support shipping dangerous goods.

Manifests

USPS from ShipStation supports creating manifests (called SCAN forms) via ShipStation API. If you plan to create a USPS SCAN form, you must manifest your day's shipments by 9pm local time.

See our Manifests page for more details about creating manifests with ShipStation API.

Scheduling Pickups

USPS from ShipStation supports scheduling pickups via ShipStation API. Pickups can only be scheduled one day in advance. For example, if you schedule a pickup on the 5th for the 7th, the pickup date scheduled by Stamps.com will be the 6th.

See our Schedule a Carrier Pickup page for more details about scheduling pickups using ShipStation API.

Service Points (PUDO)

USPS does not support shipping to service points.

Tracking

USPS from ShipStation supports receiving tracking updates. Review our ​Track a Package guides​​ for details on tracking with the ShipStation API.