POST
Plan a journey

Authorizations

Authorization
string
header
required

sk_test_ / sk_live_ / rk_test_ / rk_live_ keys

Headers

Shipping-Version
string
Shipping-Account
string

Act on behalf of a connected account (acct_...)

Body

application/json
ship_from
object
required

A party to a shipment. Either name or company is required. address is required on ship_from, ship_to, return_to, bill_to.

ship_to
object
required

A party to a shipment. Either name or company is required. address is required on ship_from, ship_to, return_to, bill_to.

handling_units
object[]
service
string
ship_date
string<date>

Response

OK

object
enum<string>
required
Available options:
journey
status
enum<string>
required
Available options:
planned,
on_track,
at_risk,
delayed,
rerouted,
completed
segments
object[]
required
id
string
shipment
string | null
planned_delivery
string<date> | null
estimated_delivery
string<date> | null