RocketShipIt

RocketShipIt

  • Docs
  • API Examples

›Guides

Guides

  • Getting Started
  • API Explorer
  • Errors
  • Self-Hosting
  • Cloud API
  • Rating
  • Tracking
  • Shipping Labels
  • Address Validation
  • Batch Requests
  • ETD / Paperless Customs
  • Thermal Printing
  • Add a logo to the shipping label
  • Add Reference Values to Labels
  • Return Labels
  • Scale Integrations
  • Laravel
  • FedEx Ground Collect
  • UPS Mail Innovations
  • Saturday Delivery
  • Find Locations
  • FedEx Test Environment
  • Switching UPS / FedEx REST
  • Authenticating Multiple UPS Accounts with UPS REST API
  • Authenticating with REST oauth APIs
  • Customizing RocketShipIt Requests

References

  • Requirements
  • Supported Shipping Carriers
  • Carrier Authentication
  • API Examples
  • Request/Response Format
  • Parameters
  • Carrier Errors
  • Command Line Options
  • Label Transformations
  • Supported Address Validation Countries
  • DHL Addons (Special Service Codes)
  • Rate Details
  • GetSubscription
  • Accessorial / Surcharge Codes
  • Shipping Carrier APIs
  • FedEx SmartPost
  • Carrier Parameters
  • UPS API Parameters
  • FedEx API Parameters
  • API REST Migration Deadlines

Troubleshooting

  • What if I run into trouble?
  • FAQs
  • Inaccurate Rates?

Shipping Labels

RocketShipIt can create shipping labels for all supported shipping carriers. For carriers that support multiple-package shipments, RocketShipIt will generate labels for all packages shipped to the same destination in a single RocketShipIt request. For carriers that don't support multi-package shipments in a single request RocketShipIt will create subsequent requests or simultaneous requests for you depending on what the carrier supports.

Note: Most carriers will not charge your account until the package arrives but some carriers, like Stamps.com, require pre-paying for all labels. We recommend that you set the test parameter to true while developing/testing in order to avoid accidentally purchasing postage while developing.

Most carriers support creating labels as images (gif/png), thermal print codes (ZPL/EPL), and PDFs. For a complete list see: the image_type parameter.

Although our RocketShipIt Print Server supports printing image labels to a thermal printer we highly recommend using ZPL or EPL if you are printing to a thermal printer for maximum clarity and compatibility.

Request

You can create a label using the RocketShipIt SubmitShipment Action. A typical request will require your carrier API credentials, to/from address, package weight/dimensions, and label type (image_type). Setting the test parameter to true will ensure that you are not charged for this label even though most carriers will not charge your account until the package is delivered.

Example:

{
  "carrier": "UPS-REST",
  "action": "SubmitShipment",
  "params": {
    "key": "YOUR_UPS_API_KEY",
    "account_number": "YOUR_UPS_ACCOUNT_NUMBER",
    "packages": [
      {
        "weight": 4,
        "length": 7
      }
    ],
    "service": "03",
    "shipper": "RocketShipIt",
    "ship_addr1": "201 1\/2 W 2nd St.",
    "ship_city": "Whitehall",
    "ship_state": "MT",
    "ship_code": "59759",
    "ship_phone": "1231231234",
    "ship_country": "US",
    "to_name": "John Doe",
    "to_addr1": "940 Presidio Ave",
    "to_addr2": "#103",
    "to_state": "CA",
    "to_city": "San Francisco",
    "to_code": "94115",
    "to_country": "US",
    "image_type": "GIF",
    "test": true
  }
}

Response

See: SubmitShipment Response Format for the SubmitShipment Action

Label Format

RocketShipIt returns all labels in base64 format.

If you are using an image label you can embed your label directly in HTML with the data tag: <img src="data:image/gif;base64,iVBORw0KGgoAAAANS..." />

Shipping COD (Cash on Delivery)

Most carriers will attempt to collect the amount shown on the COD. tag or package label (cod_amount), and then send the payment to you. If the carrier cannot collect the payment after multiple attempts, the package will be returned. Carriers typically charge an additional fee for COD.

Simply add these additional parameters:

"cod_fund_type": "PERSONAL_CHECK",
"cod_amount": 774.60,

See:

  • https://docs.rocketshipit.com/2-0/examples/#fedex-label-in-gt-in-with-cod
  • https://docs.rocketshipit.com/2-0/examples/#fedex-rate-cod
  • https://docs.rocketshipit.com/2-0/examples/#ups-label-cod

API Examples

  • https://docs.rocketshipit.com/2-0/examples/#canada-post-label
  • https://docs.rocketshipit.com/2-0/examples/#canada-post-label-international
  • https://docs.rocketshipit.com/2-0/examples/#canada-post-label-return
  • https://docs.rocketshipit.com/2-0/examples/#dhl-label
  • https://docs.rocketshipit.com/2-0/examples/#dhl-label-email-notifications
  • https://docs.rocketshipit.com/2-0/examples/#dhl-label-international
  • https://docs.rocketshipit.com/2-0/examples/#dhl-label-third-party-billing
  • https://docs.rocketshipit.com/2-0/examples/#dhl-label-ecommerce
  • https://docs.rocketshipit.com/2-0/examples/#dhl-label-with-reference
  • https://docs.rocketshipit.com/2-0/examples/#dhl-pl-label
  • https://docs.rocketshipit.com/2-0/examples/#dicom-label
  • https://docs.rocketshipit.com/2-0/examples/#fedex-freight-label-w-bol
  • https://docs.rocketshipit.com/2-0/examples/#fedex-freight-label-w-bol-multi-pallet
  • https://docs.rocketshipit.com/2-0/examples/#fedex-label
  • https://docs.rocketshipit.com/2-0/examples/#fedex-label-alcohol
  • https://docs.rocketshipit.com/2-0/examples/#fedex-label-email-notifications
  • https://docs.rocketshipit.com/2-0/examples/#fedex-label-hold-at-location
  • https://docs.rocketshipit.com/2-0/examples/#fedex-label-home-delivery-no-signature
  • https://docs.rocketshipit.com/2-0/examples/#fedex-label-in-gt-in-with-cod
  • https://docs.rocketshipit.com/2-0/examples/#fedex-label-international
  • https://docs.rocketshipit.com/2-0/examples/#fedex-label-international-documents-only
  • https://docs.rocketshipit.com/2-0/examples/#fedex-label-international-w-ci-and-nafta
  • https://docs.rocketshipit.com/2-0/examples/#fedex-label-multi-package
  • https://docs.rocketshipit.com/2-0/examples/#fedex-label-multi-package-international
  • https://docs.rocketshipit.com/2-0/examples/#fedex-label-reference-values
  • https://docs.rocketshipit.com/2-0/examples/#fedex-label-residential
  • https://docs.rocketshipit.com/2-0/examples/#fedex-label-return-label
  • https://docs.rocketshipit.com/2-0/examples/#fedex-label-smartpost
  • https://docs.rocketshipit.com/2-0/examples/#fedex-label-third-party-billing
  • https://docs.rocketshipit.com/2-0/examples/#fedex-label-with-insurance
  • https://docs.rocketshipit.com/2-0/examples/#fedex-fims-label
  • https://docs.rocketshipit.com/2-0/examples/#gso-label
  • https://docs.rocketshipit.com/2-0/examples/#ontrac-label
  • https://docs.rocketshipit.com/2-0/examples/#royal-mail-label-domestic
  • https://docs.rocketshipit.com/2-0/examples/#stamps-com-label
  • https://docs.rocketshipit.com/2-0/examples/#stamps-com-label-apo-military-address
  • https://docs.rocketshipit.com/2-0/examples/#stamps-com-label-email-notifications
  • https://docs.rocketshipit.com/2-0/examples/#stamps-com-label-globalpost-economy
  • https://docs.rocketshipit.com/2-0/examples/#stamps-com-label-hidden-postage
  • https://docs.rocketshipit.com/2-0/examples/#stamps-com-label-international
  • https://docs.rocketshipit.com/2-0/examples/#stamps-com-label-signature-required
  • https://docs.rocketshipit.com/2-0/examples/#ups-label
  • https://docs.rocketshipit.com/2-0/examples/#ups-label-cod
  • https://docs.rocketshipit.com/2-0/examples/#ups-label-direct-signature
  • https://docs.rocketshipit.com/2-0/examples/#ups-label-email-notifications
  • https://docs.rocketshipit.com/2-0/examples/#ups-label-gfp
  • https://docs.rocketshipit.com/2-0/examples/#ups-label-insurance
  • https://docs.rocketshipit.com/2-0/examples/#ups-label-international-bill-receiver
  • https://docs.rocketshipit.com/2-0/examples/#ups-label-letter
  • https://docs.rocketshipit.com/2-0/examples/#ups-label-mail-innovations
  • https://docs.rocketshipit.com/2-0/examples/#ups-label-medical-dry-ice
  • https://docs.rocketshipit.com/2-0/examples/#ups-label-reference-values
  • https://docs.rocketshipit.com/2-0/examples/#ups-label-return
  • https://docs.rocketshipit.com/2-0/examples/#ups-label-return-w-email-delivery
  • https://docs.rocketshipit.com/2-0/examples/#ups-label-surepost
  • https://docs.rocketshipit.com/2-0/examples/#ups-label-third-party-billing
  • https://docs.rocketshipit.com/2-0/examples/#ups-label-w-access-point
  • https://docs.rocketshipit.com/2-0/examples/#usps-emrs-return-label
  • https://docs.rocketshipit.com/2-0/examples/#usps-label
  • https://docs.rocketshipit.com/2-0/examples/#usps-label-first-class-mail-international
  • https://docs.rocketshipit.com/2-0/examples/#usps-label-international-express-mail
  • https://docs.rocketshipit.com/2-0/examples/#usps-label-international-priority-mail
  • https://docs.rocketshipit.com/2-0/examples/#usps-evs-label
  • https://docs.rocketshipit.com/2-0/examples/#usps-evs-label-apo
  • https://docs.rocketshipit.com/2-0/examples/#usps-evs-label-express-mail-international
  • https://docs.rocketshipit.com/2-0/examples/#usps-evs-label-first-class-mail-international
  • https://docs.rocketshipit.com/2-0/examples/#usps-evs-label-priority-mail-international
← TrackingAddress Validation →
  • Request
  • Response
  • Label Format
  • Shipping COD (Cash on Delivery)
  • API Examples
RocketShipIt
Docs
Getting StartedAPI Reference
RocketShipIt
SupportMy Account
Copyright © 2025 RocketShipIt LLC