Skip to content

OnTrac

OnTrac is a regional carrier providing next-day delivery services to businesses and consumers across the western United States. Known for reliable ground shipping solutions, OnTrac serves Arizona, California, Colorado, Idaho, Nevada, Oregon, Utah, Washington, and parts of New Mexico and Montana.

This guide provides developers with the details needed to build OnTrac shipping capabilities into your ShipStation V2 API workflows. You can also connect your OnTrac account via the ShipStation API Platform.

2026 Migration Notice

OnTrac V3 Integration Migration

OnTrac is migrating all legacy OnTrac customers currently using ShipStation to the new Unified OnTrac integration (V3). ShipStation has adopted this integration over the past several months and is consolidating the number of OnTrac integrations it supports, so all customers will transition to the updated system.

What this means for you:

  • New account structure: Legacy accounts use a numeric Account Number; V3 uses Customer Branches (unique alphanumeric IDs) aligned to your current origin and injection locations.
  • Tracking number changes: Current format starts with "D"; new format starts with "1LS." Coordination with your third-party tracking providers may be required.
  • Invoice format updates: Invoices will move to a new format.
  • ShipStation setup required: You must add a new OnTrac carrier integration in ShipStation.

Migrating in ShipStation:

  1. Contact OnTrac to request your new credentials. The new OnTrac API requires a different set of parameters than OnTrac Legacy or LaserShip.
  2. Once you have your new credentials, connect your OnTrac account via the Carriers page just like connecting any other carrier.

Requirements

Carrier API Code: ontrac_v3

PropertyTypeRequired?Description
nicknamestringrequiredUsed to identify your account in ShipStation V2 API
ws_idstringrequiredWSID
ws_keystringrequiredWSKey
customer_branchstringrequiredCustomer Branch
pickup_timestringrequiredPickup Time
contactstringrequiredContact
street_addressstringrequiredAddress
postal_codestringrequiredPostal Code
citystringrequiredCity
statestringrequiredState
special_instructionsstringrequiredSpecial Instructions
companystringOptionalCompany
address2stringOptionalAddress2
iso_country_codestringOptionalISO Country Code
phonestringOptionalPhone
declare_piece_attributes_separately_for_every_shipmentbooleanOptionalDeclare Piece Attributes Separately for Every Shipment
attr_alcoholbooleanOptionalAlcohol
attr_dryicebooleanOptionalDryIce
attr_explosivebooleanOptionalExplosive
attr_two_personsbooleanOptionalTwo Persons
attr_controlled_substancebooleanOptionalControlled Substance
attr_refrigeratedbooleanOptionalRefrigerated
attr_perishablebooleanOptionalPerishable
attr_nortsbooleanOptionalNoRTS
attr_desktop_deliverybooleanOptionalDesktop Delivery
attr_hazmatbooleanOptionalHazmat
attr_saturdaybooleanOptionalSaturday
attr_sundaybooleanOptionalSunday
attr_signature_requiredbooleanOptionalSignatureRequired

Shipping Requirements

  • Weight and dimensions are required for all shipments.
  • Ship From and Ship To addresses must be complete and valid.

Connect Account

You can connect an OnTrac account via the ShipStation dashboard or programmatically via API.

Connect via Dashboard

To connect your OnTrac account through the ShipStation API Platform:

  1. Navigate to Settings > Carriers in your ShipStation dashboard
  2. Click Add Carrier and select OnTrac
  3. Enter your OnTrac V3 credentials
  4. Click Connect to complete the setup

For detailed step-by-step instructions, see our OnTrac connection help article.

Connect via API

POST /v2/connections/carriers/ontrac_v3

POST /v2/connections/carriers/ontrac_v3 HTTP/1.1
Host: api.shipstation.com
API-Key: __YOUR_API_KEY_HERE__
Content-Type: application/json

{
  "nickname": "my ontrac account",
  "ws_id": "your_ws_id_here",
  "ws_key": "your_ws_key_here",
  "customer_branch": "BRANCH123",
  "pickup_time": "14:00",
  "contact": "John Doe",
  "street_address": "123 Main St",
  "postal_code": "90210",
  "city": "Los Angeles",
  "state": "CA",
  "special_instructions": "Call on arrival"
}

A successful connection will return the carrier's carrier_id property in the response.

Once connected, you can retrieve your carrier configuration using the list carriers endpoint.

Rates

OnTrac supports rate shopping with ShipStation V2 API.

Service Details

Available OnTrac 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.

Services

ServiceAPI CodeFeatures
Ground Pickup Ontracground_v3_ontracTracking, Multi-Package
Ground Pickup Noneground_v3_noneTracking, Same-Day Service, Multi-Package

Packages

OnTrac supports the following package types for shipments:

Package TypeAPI Code
Polybagontrac_v3_polybag
Custom Packagingontrac_v3_custom_packaging
Envelopeontrac_v3_envelope

You can also use custom package types with OnTrac.

Adding Shipment Insurance

OnTrac supports adding carrier insurance to shipments created with ShipStation V2 API. Review our insurance page for details on adding insurance to your shipments.

Label Support

  • Label sizes: 4" x 6"
  • Label formats: PDF, ZPL
  • Supports unicode characters: Yes

Label Reference Fields

OnTrac supports adding custom label messages.

Multi-Package Labels

OnTrac supports creating multi-package shipments.

See our Multi-Package Shipping page for details about creating multi-package labels.

Label Branding

OnTrac does not support label branding.

Voiding Labels

OnTrac supports voiding labels with ShipStation V2 API.

See our Void a Label page for details about voiding labels with ShipStation V2 API.

Paperless Labels

OnTrac does not support paperless labels.

Delivery Confirmation

Confirmation TypeAPI CodeDescription
NonenoneNo confirmation requested.
Signature RequiredsignatureSignature is required for the shipment to be delivered.

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

Advanced Options

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

Specific advanced options supported by OnTrac include attributes for special handling requirements like alcohol, dry ice, hazmat, refrigerated items, and Saturday/Sunday delivery.

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

Manifests

OnTrac does not require manifesting your shipments.

Scheduling Pickups

OnTrac supports scheduling pickups using ShipStation V2 API.

Tracking

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

Disconnecting Your OnTrac Account

See the Disconnect section in our Delete a Carrier page for the process of deleting or disconnecting a carrier from ShipStation V2 API.

Carrier ID Changes

If you disconnect a carrier account and reconnect it, the account will have a new carrier_id in ShipStation V2 API.