Skip to main content
POST
Create a shipment
Once you’ve purchased a shipment and printed the label, visit ship.uniuni.com/locations to confirm your drop-off location or ship.uniuni.com/pickups to request a pick-up service (if available).
shipmentLineItems is required. Every shipment must include at least one line item (shipmentLineItems array with >= 1 element). Omitting it or sending an empty array returns a 422 PayloadValidationError.
Cross-border shipments (CA → US): Each item in shipmentLineItems must also include hs_code, country_of_origin, and a description identifying the manufacturer. Shipments missing this information may be held at the border.

Authorizations

Authorization
string
header
required

API access token generated from the UniUni Platform dashboard.

Body

application/json
recipient
object
required

Recipient details. Provide phone, email, or both.

address
object
required
weight
object
required
postageType
enum<string>
required

Preferred postage type. Domestic shipments typically use SAME DAY, NEXT DAY, or STANDARD. Cross-border CA→US shipments use USPS Ground Advantage (DDP) or PostNL International Packet Tracked (DDU). If the requested type is unavailable, an available type is selected automatically.

Available options:
PUBLICATION,
SAME DAY,
NEXT DAY,
STANDARD,
USPS Ground Advantage,
PostNL International Packet Tracked,
OTHER
shipmentLineItems
object[]
required

Line items describing the contents. Must contain at least one item.

Minimum array length: 1
dimensions
object

Package dimensions. Provide either dimensions or packagingId, not both. If neither is provided, a saved default packaging preset will be used. If there are no saved packaging presets, dimensions are required.

packagingId
integer

ID of a pre-configured packaging profile. Use instead of dimensions if the package matches a saved profile.

note
string

Optional note, up to 200 characters.

Maximum string length: 200
insuranceRequired
boolean

Whether parcel protection (insurance) is required for this shipment.

orderNumber
string

Optional client-provided order reference.

Response

Shipment created or error returned

message
string
required

Additional information about the request status.

code
integer
required

Status code. 0 indicates success.

data
object