UPS - Locator

Carrier
UPS
Action
Locator
{
  "carrier": "UPS",
  "action": "findlocations",
  "params": {
    "request_option": "64",
    "ship_city": "Atlanta",
    "ship_state": "GA",
    "ship_code": "85281",
    "ship_code_extended": "4510",
    "ship_country": "US",
	"test": true
  }
}

<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
  'carrier' => 'UPS',
  'action' => 'findlocations',
  'params' => 
  array (
    'request_option' => '64',
    'ship_city' => 'Atlanta',
    'ship_state' => 'GA',
    'ship_code' => '85281',
    'ship_code_extended' => '4510',
    'ship_country' => 'US',
    'test' => true,
  ),
)
);

rs.request(
  {'action': 'findlocations',
 'carrier': 'UPS',
 'params': {'request_option': '64',
            'ship_city': 'Atlanta',
            'ship_code': '85281',
            'ship_code_extended': '4510',
            'ship_country': 'US',
            'ship_state': 'GA',
            'test': True}}

)

rs.request(
  {"carrier"=>"UPS",
 "action"=>"findlocations",
 "params"=>
  {"request_option"=>"64",
   "ship_city"=>"Atlanta",
   "ship_state"=>"GA",
   "ship_code"=>"85281",
   "ship_code_extended"=>"4510",
   "ship_country"=>"US",
   "test"=>true}}

)

rocketshipit.request(
  {
  "carrier": "UPS",
  "action": "findlocations",
  "params": {
    "request_option": "64",
    "ship_city": "Atlanta",
    "ship_state": "GA",
    "ship_code": "85281",
    "ship_code_extended": "4510",
    "ship_country": "US",
	"test": true
  }
}
)

← All UPS examples