UPS - Time in Transit International

Carrier
UPS
Action
Time in Transit International
{
  "carrier": "UPS",
  "action": "timeintransit",
  "params": {
    "ship_city": "Emeryville",
    "ship_code": "94608",
    "ship_country": "US",
    "to_code": "M1B5K7",
    "to_country": "CA",
    "documents_only": true,
    "num_of_packages": 4,
    "weight": 5,
    "weight_unit": "LBS",
    "monetary_value": 20,
    "currency": "USD",
    "test": true
  }
}

<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
  'carrier' => 'UPS',
  'action' => 'timeintransit',
  'params' => 
  array (
    'ship_city' => 'Emeryville',
    'ship_code' => '94608',
    'ship_country' => 'US',
    'to_code' => 'M1B5K7',
    'to_country' => 'CA',
    'documents_only' => true,
    'num_of_packages' => 4,
    'weight' => 5,
    'weight_unit' => 'LBS',
    'monetary_value' => 20,
    'currency' => 'USD',
    'test' => true,
  ),
)
);

rs.request(
  {'action': 'timeintransit',
 'carrier': 'UPS',
 'params': {'currency': 'USD',
            'documents_only': True,
            'monetary_value': 20,
            'num_of_packages': 4,
            'ship_city': 'Emeryville',
            'ship_code': '94608',
            'ship_country': 'US',
            'test': True,
            'to_code': 'M1B5K7',
            'to_country': 'CA',
            'weight': 5,
            'weight_unit': 'LBS'}}

)

rs.request(
  {"carrier"=>"UPS",
 "action"=>"timeintransit",
 "params"=>
  {"ship_city"=>"Emeryville",
   "ship_code"=>"94608",
   "ship_country"=>"US",
   "to_code"=>"M1B5K7",
   "to_country"=>"CA",
   "documents_only"=>true,
   "num_of_packages"=>4,
   "weight"=>5,
   "weight_unit"=>"LBS",
   "monetary_value"=>20,
   "currency"=>"USD",
   "test"=>true}}

)

rocketshipit.request(
  {
  "carrier": "UPS",
  "action": "timeintransit",
  "params": {
    "ship_city": "Emeryville",
    "ship_code": "94608",
    "ship_country": "US",
    "to_code": "M1B5K7",
    "to_country": "CA",
    "documents_only": true,
    "num_of_packages": 4,
    "weight": 5,
    "weight_unit": "LBS",
    "monetary_value": 20,
    "currency": "USD",
    "test": true
  }
}
)

← All UPS examples