Import one shipment labeled outside Shipium

Send one shipment you labeled outside Shipium. It is stored whole or not at all. A 200 means stored, or already stored with the same contents. For shipFromAddress and destinationAddress, only countryCode (2 letters) and postalCode are required, plus state in the US and Canada. Each box's weight and each side must be more than 0. We know the shipment is yours from the login, never from a field. After a 5xx, or no answer, send the same shipment again later. That is always safe. After a 400 or 409, fix the shipment before sending it again. After a 401 or 403, fix the login.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
boolean
Defaults to false

If true, the shipment is checked and answered as if sent for real, but nothing is stored and no Shipium ids come back.

Body Params
string
length ≤ 100

Either the Shipium tenant ID or your own ID for the client (tenant) this shipment is for. Shipium resolves either one to the client. Required if you ship for clients (a 3PL), so each shipment is billed to the right client. Text or a whole number.

string
required
length ≤ 100

Your id for this shipment. Sending the same partnerShipmentId again within 100 days of the first send is safe. Text or a whole number.

string
required
length ≤ 50

Shipium's carrierId, from https://docs.shipium.com/docs/supported-carriers. Map your carrier codes to these once.

string
required
length ≤ 100

Shipium's service method id, from https://docs.shipium.com/docs/supported-carriers. It must belong to carrier.

string
length ≤ 100

The carrier's primary tracking id for a shipment of several boxes, if it has one. Some carriers call it the master tracking id. Send it as text in quotes, never a number.

string
length ≤ 100

The carrier account the label was bought on, if you have it. Lets Shipium match the label to the carrier's bill.

date-time
required

When the label was made, ISO 8601 with time zone offset.

boolean

true for a test shipment. Shipium stores it but never bills it. A test send still uses its partnerShipmentId, so give test shipments their own ids. false if not sent.

shipFromAddress
object
required

Billing address associated with the payor account. Required for recipient and some third-party billing carriers.

destinationAddress
object
required

Billing address associated with the payor account. Required for recipient and some third-party billing carriers.

packages
array of objects
required
length between 1 and 100

One entry per box, each with its own carrierTrackingId. More than 100 is a 400. A single box object, not in a list, is read as a list of one.

packages*
string
required
length ≤ 100

The carrier's tracking id for this box. Send it as text in quotes, never a number.

string
length ≤ 100

The carrier's other id for this box, if the label has one. Send it as text in quotes, never a number.

totalWeight
object
required

The weight of this type of packaging empty.

linearDimensions
object
required

Dimensions describing the size of the packaging.

number
> 0

What you paid for this label, in carrierLabelCurrencyCode. Send it if you have it. If sent, it must be more than 0.

string
length between 3 and 3

The ISO 4217 currency of carrierLabelPrice and labelCostLineItems, like USD. Required when either is sent.

labelCostLineItems
array of objects

The carrier's breakdown of carrierLabelPrice, one entry per charge, if you have it. Each entry's currencyCode is required and must equal carrierLabelCurrencyCode.

labelCostLineItems
Responses

401

Missing or bad login. Nothing stored. Get a new token, then send again.

403

This login can't import shipments. Nothing stored. Contact Shipium.

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json