Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Order to add to the system

pickup_address_street
string
required

Street name of the pickup address.

pickup_address_city
string
required

City of the pickup address.

pickup_address_country
string
required

Country of the pickup address.

pickup_name
string
required

Name of the contact person at the pickup location.

dropoff_name
string
required

Name of the contact person at the dropoff location.

email
string<email>
required

Customer email address for notifications.

currency
string
required

The intended currency.

Maximum string length: 3
pickup_address_number
string

Street number of the pickup address.

pickup_address_secondary_number
string

Apartment or suite number for the pickup address.

pickup_address_county
string

County of the pickup address.

pickup_address_state
string

State of the pickup address.

pickup_address_postal_code
string

Postal or ZIP code of the pickup address.

pickup_address_latitude
number

Latitude coordinate of the pickup address.

pickup_address_longitude
number

Longitude coordinate of the pickup address.

pickup_phone_number
string

Phone number of the pickup contact person.

Maximum string length: 15
pickup_instructions
string

Additional instructions for the pickup.

Maximum string length: 512
dropoff_start_time
string<date-time>

Start of the dropoff window as an ISO 8601 UTC datetime with a trailing Z (YYYY-MM-DDTHH:MM:SSZ). Numeric offsets (e.g. +01:00) are not accepted. Required unless package_delivery_mode is NOW.

pickup_start_time
string<date-time>

Start of the pickup window as an ISO 8601 UTC datetime with a trailing Z (YYYY-MM-DDTHH:MM:SSZ). Numeric offsets (e.g. +01:00) are not accepted.

weight
number

Weight of the package in lbs.

Required range: x >= 0
dimensions
object

Dimensions of the package.

dropoff_address_street
string

Street name of the dropoff address.

dropoff_address_city
string

City of the dropoff address.

dropoff_address_country
string

Country of the dropoff address.

dropoff_address_number
string

Street number of the dropoff address.

dropoff_address_secondary_number
string

Apartment or suite number for the dropoff address.

dropoff_address_county
string

County of the dropoff address.

dropoff_address_state
string

State of the dropoff address.

dropoff_address_postal_code
string

Postal or ZIP code of the dropoff address.

dropoff_address_latitude
number

Latitude coordinate of the dropoff address.

dropoff_address_longitude
number

Longitude coordinate of the dropoff address.

dropoff_phone_number
string

Phone number of the dropoff contact person.

Maximum string length: 15
dropoff_instructions
string

Additional instructions for the dropoff.

Maximum string length: 512
dropoff_email
string<email>

Email address of the dropoff contact person.

package_minimum_vehicle_size
enum<string>

Minimum vehicle type required to transport the package.

Available options:
SEDAN,
CAR,
SUV,
PICKUP_TRUCK,
VAN,
TRUCK,
LARGE_VAN,
EXTRA_LARGE_VAN,
PICKUP
package_delivery_mode
enum<string>

Mode of delivery (NOW or SCHEDULED).

Available options:
NOW,
SCHEDULED
package_description
string

Description of the package contents.

Maximum string length: 512
package_requirements
enum<string>[]

Special delivery or pickup requirements.

Available options:
PHOTO_PROOF_OF_DELIVERY,
SIGNATURE_PROOF_OF_DELIVERY,
TWO_PERSON_TEAM
items
object[]

List of items included in the delivery.

items_count
integer

Total count of items.

delivery_date
string<date>

Delivery date (YYYY-MM-DD). Required unless package_delivery_mode is NOW. If a time component is included it is honoured; otherwise dropoff_start_time is used to determine the scheduled moment.

delivery_start_time
string<time>

Start time of the delivery window (HH:MM:SS).

delivery_end_time
string<time>

End time of the delivery window (HH:MM:SS).

package_value
number<float>

Monetary value of the package.

Required range: x >= 0
tip
number<float>

Optional tip for the delivery.

Required range: x >= 0
partner_reference
string

Custom reference provided by the partner.

Maximum string length: 256
partner_payload
object

Optional custom payload for partner systems.

delivery_style
enum<string> | null

The delivery style. Can be Standard or Special Handling. Please contact us to unlock more delivery styles and associated features.

Available options:
Standard,
Special Handling

Response

Order created successfully

Successful response returned after an order is created.

message
string
required
Example:

"Order created successfully"

uid
string
required

Unique identifier of the created order

Example:

"ord_123456"

data
object
required
tracking_url
string<uri>

A URL to track the delivery in real time.

Example:

"https://track.unihop.app/ord_123456"