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?

Add Reference Values to Labels

Reference values allow you to attach a custom label or tag to a shipment which can allow you to track a shipment by that value. It can also be printed on the label as text or a barcode.

RMA numbers, invoice numbers, and PO numbers are common reference values.

API requests using reference values:

  • UPS label with reference values
  • Tracking UPS package by reference
  • Tracking FedEx package by reference
  • Stamps.com label with reference value
  • DHL label with reference value

Parameters

See parameters: reference_code and reference_value

Example

...
    "packages": [
      {
        "weight": 4,
        "reference_code": "PO",
        "reference_value": "12382871",
        "reference_barcode": true,
        "reference_code2": "IN",
        "reference_value2": "10000"
      }
    ],
...

UPS Label with Reference Value

← Add a logo to the shipping labelReturn Labels →
  • Parameters
  • Example
RocketShipIt
Docs
Getting StartedAPI Reference
RocketShipIt
SupportMy Account
Copyright © 2025 RocketShipIt LLC