FedEx-REST - Label Hold at Location

Carrier
FedEx-REST
Action
Label Hold at Location
{
  "carrier": "FedEx-REST",
  "action": "submitshipment",
  "params": {
    "key": "your-key-from-authenticate-request",
    "packages": [
      {
        "weight": 15
      }
    ],
    "hold_at_location": true,
    "hold_location_type": "FEDEX_GROUND_TERMINAL",
    "hold_location_id": "ARTA",
    "hold_location_id_comment":  "The above field is Case Sensitive",
    "hold_phone": "1231231234",
    "hold_addr1": "8549 Wilshire Blvd",
    "hold_city": "Beverly Hills",
    "hold_state": "CA",
    "hold_code": "90211",
    "hold_country": "US",
    "shipper": "RocketShipIt",
    "ship_addr1": "123 Main St",
    "ship_city": "Whitehall",
    "ship_state": "MT",
    "ship_code": "59759",
    "ship_phone": "1231231234",
    "to_name": "John Doe",
    "to_addr1": "123 Main St",
    "to_state": "CA",
    "to_city": "Beverly Hills",
    "to_code": "90210",
    "to_phone": "1231231234",
    "packaging_type": "YOUR_PACKAGING",
    "test": true
  }
}

<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
  'carrier' => 'FedEx-REST',
  'action' => 'submitshipment',
  'params' => 
  array (
    'key' => 'your-key-from-authenticate-request',
    'packages' => 
    array (
      0 => 
      array (
        'weight' => 15,
      ),
    ),
    'hold_at_location' => true,
    'hold_location_type' => 'FEDEX_GROUND_TERMINAL',
    'hold_location_id' => 'ARTA',
    'hold_location_id_comment' => 'The above field is Case Sensitive',
    'hold_phone' => '1231231234',
    'hold_addr1' => '8549 Wilshire Blvd',
    'hold_city' => 'Beverly Hills',
    'hold_state' => 'CA',
    'hold_code' => '90211',
    'hold_country' => 'US',
    'shipper' => 'RocketShipIt',
    'ship_addr1' => '123 Main St',
    'ship_city' => 'Whitehall',
    'ship_state' => 'MT',
    'ship_code' => '59759',
    'ship_phone' => '1231231234',
    'to_name' => 'John Doe',
    'to_addr1' => '123 Main St',
    'to_state' => 'CA',
    'to_city' => 'Beverly Hills',
    'to_code' => '90210',
    'to_phone' => '1231231234',
    'packaging_type' => 'YOUR_PACKAGING',
    'test' => true,
  ),
)
);

rs.request(
  {'action': 'submitshipment',
 'carrier': 'FedEx-REST',
 'params': {'hold_addr1': '8549 Wilshire Blvd',
            'hold_at_location': True,
            'hold_city': 'Beverly Hills',
            'hold_code': '90211',
            'hold_country': 'US',
            'hold_location_id': 'ARTA',
            'hold_location_id_comment': 'The above field is Case Sensitive',
            'hold_location_type': 'FEDEX_GROUND_TERMINAL',
            'hold_phone': '1231231234',
            'hold_state': 'CA',
            'key': 'your-key-from-authenticate-request',
            'packages': [{'weight': 15}],
            'packaging_type': 'YOUR_PACKAGING',
            'ship_addr1': '123 Main St',
            'ship_city': 'Whitehall',
            'ship_code': '59759',
            'ship_phone': '1231231234',
            'ship_state': 'MT',
            'shipper': 'RocketShipIt',
            'test': True,
            'to_addr1': '123 Main St',
            'to_city': 'Beverly Hills',
            'to_code': '90210',
            'to_name': 'John Doe',
            'to_phone': '1231231234',
            'to_state': 'CA'}}

)

rs.request(
  {"carrier"=>"FedEx-REST",
 "action"=>"submitshipment",
 "params"=>
  {"key"=>"your-key-from-authenticate-request",
   "packages"=>[{"weight"=>15}],
   "hold_at_location"=>true,
   "hold_location_type"=>"FEDEX_GROUND_TERMINAL",
   "hold_location_id"=>"ARTA",
   "hold_location_id_comment"=>"The above field is Case Sensitive",
   "hold_phone"=>"1231231234",
   "hold_addr1"=>"8549 Wilshire Blvd",
   "hold_city"=>"Beverly Hills",
   "hold_state"=>"CA",
   "hold_code"=>"90211",
   "hold_country"=>"US",
   "shipper"=>"RocketShipIt",
   "ship_addr1"=>"123 Main St",
   "ship_city"=>"Whitehall",
   "ship_state"=>"MT",
   "ship_code"=>"59759",
   "ship_phone"=>"1231231234",
   "to_name"=>"John Doe",
   "to_addr1"=>"123 Main St",
   "to_state"=>"CA",
   "to_city"=>"Beverly Hills",
   "to_code"=>"90210",
   "to_phone"=>"1231231234",
   "packaging_type"=>"YOUR_PACKAGING",
   "test"=>true}}

)

rocketshipit.request(
  {
  "carrier": "FedEx-REST",
  "action": "submitshipment",
  "params": {
    "key": "your-key-from-authenticate-request",
    "packages": [
      {
        "weight": 15
      }
    ],
    "hold_at_location": true,
    "hold_location_type": "FEDEX_GROUND_TERMINAL",
    "hold_location_id": "ARTA",
    "hold_location_id_comment":  "The above field is Case Sensitive",
    "hold_phone": "1231231234",
    "hold_addr1": "8549 Wilshire Blvd",
    "hold_city": "Beverly Hills",
    "hold_state": "CA",
    "hold_code": "90211",
    "hold_country": "US",
    "shipper": "RocketShipIt",
    "ship_addr1": "123 Main St",
    "ship_city": "Whitehall",
    "ship_state": "MT",
    "ship_code": "59759",
    "ship_phone": "1231231234",
    "to_name": "John Doe",
    "to_addr1": "123 Main St",
    "to_state": "CA",
    "to_city": "Beverly Hills",
    "to_code": "90210",
    "to_phone": "1231231234",
    "packaging_type": "YOUR_PACKAGING",
    "test": true
  }
}
)

← All FedEx-REST examples